@angular-devkit/core 8.0.0 → 8.0.4
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
CHANGED
|
@@ -246,7 +246,7 @@ class Workspace {
|
|
|
246
246
|
validateAgainstSchema(contentJson, schemaJson) {
|
|
247
247
|
// JSON validation modifies the content, so we validate a copy of it instead.
|
|
248
248
|
const contentJsonCopy = JSON.parse(JSON.stringify(contentJson));
|
|
249
|
-
return this._registry.compile(schemaJson).pipe(operators_1.concatMap(validator => validator(contentJsonCopy)), operators_1.concatMap(validatorResult => {
|
|
249
|
+
return this._registry.compile(schemaJson).pipe(operators_1.concatMap(validator => validator(contentJsonCopy)), operators_1.concatMap((validatorResult) => {
|
|
250
250
|
if (validatorResult.success) {
|
|
251
251
|
return rxjs_1.of(contentJsonCopy);
|
|
252
252
|
}
|