@angular-architects/ddd
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "@angular-architects/ddd", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Manfred Steyer", |
@@ -23,3 +23,4 @@ "use strict"; | ||
const text = host.read(filePath).toString(); | ||
let rules = JSON.parse(text); | ||
const json = JSON.parse(text); | ||
let rules = json; | ||
if (rules['overrides']) { | ||
@@ -33,3 +34,3 @@ const overrides = rules['overrides']; | ||
update(depConst); | ||
const newText = JSON.stringify(rules, undefined, 2); | ||
const newText = JSON.stringify(json, undefined, 2); | ||
host.overwrite(filePath, newText); | ||
@@ -36,0 +37,0 @@ } |
@@ -28,4 +28,4 @@ import { Tree, SchematicContext } from '@angular-devkit/schematics'; | ||
const text = host.read(filePath).toString(); | ||
let rules = JSON.parse(text); | ||
const json = JSON.parse(text); | ||
let rules = json; | ||
if (rules['overrides']) { | ||
@@ -41,4 +41,4 @@ const overrides = rules['overrides']; | ||
const newText = JSON.stringify(rules, undefined, 2); | ||
const newText = JSON.stringify(json, undefined, 2); | ||
host.overwrite(filePath, newText); | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123525
2520