We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d105eb commit 2aa73efCopy full SHA for 2aa73ef
packages/angular_devkit/schematics/src/tree/host-tree.ts
@@ -341,7 +341,9 @@ export class HostTree implements Tree {
341
throw new ContentHasMutatedException(path);
342
} else {
343
const newContent = record.apply(entry.content);
344
- this.overwrite(path, newContent);
+ if (!newContent.equals(entry.content)) {
345
+ this.overwrite(path, newContent);
346
+ }
347
}
348
349
throw new InvalidUpdateRecordException();
0 commit comments