@hestia-earth/schema-validation 30.1.0 → 30.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/validate-jsonld.js +2 -1
package/package.json
CHANGED
package/validate-jsonld.js
CHANGED
|
@@ -160,7 +160,8 @@ var run = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
|
160
160
|
return [7 /*endfinally*/];
|
|
161
161
|
case 15:
|
|
162
162
|
if (results.length) {
|
|
163
|
-
|
|
163
|
+
results.map(function (value) { return console.error(JSON.stringify(value, null, 2)); });
|
|
164
|
+
throw new Error('Validation errors: see above for more details');
|
|
164
165
|
}
|
|
165
166
|
return [2 /*return*/];
|
|
166
167
|
}
|