Commit 664e6c7
committed
fix(@schematics/angular): only overwrite JSON file if actually changed
The JSON file helper utility used within the Angular schematics now
contains additional checks when attempting to modify a file to avoid
overwriting a file if no actual changes will occur after a modify request.1 parent c7e73fa commit 664e6c7
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
101 | 108 | | |
102 | 109 | | |
103 | 110 | | |
| |||
0 commit comments