File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @angular-architects/ddd" ,
3
- "version" : " 1.1.0 " ,
3
+ "version" : " 1.1.1 " ,
4
4
"license" : " MIT" ,
5
5
"author" : " Manfred Steyer" ,
6
6
"description" : " Nx plugin for structuring a monorepo with domains and layers" ,
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ export function updateDepConst(
25
25
}
26
26
27
27
const text = host . read ( filePath ) . toString ( ) ;
28
- let rules = JSON . parse ( text ) ;
29
-
28
+ const json = JSON . parse ( text ) ;
29
+ let rules = json ;
30
30
if ( rules [ 'overrides' ] ) {
31
31
const overrides = rules [ 'overrides' ] ;
32
32
rules = overrides . find ( e => e . rules && e . rules [ '@nrwl/nx/enforce-module-boundaries' ] ) ;
@@ -37,6 +37,6 @@ export function updateDepConst(
37
37
const depConst = rules [ 'rules' ] [ rule ] [ 1 ] [ 'depConstraints' ] as Array < object > ;
38
38
update ( depConst ) ;
39
39
40
- const newText = JSON . stringify ( rules , undefined , 2 ) ;
40
+ const newText = JSON . stringify ( json , undefined , 2 ) ;
41
41
host . overwrite ( filePath , newText ) ;
42
42
}
You can’t perform that action at this time.
0 commit comments