Skip to content

Commit c4a374a

Browse files
committed
fixup! fix(@angular/cli): always install package during ng add to inspect manifest on disk for schematics
TAG=agy CONV=b92ba928-67b0-4f4b-a79a-ce19e5098641
1 parent c957ded commit c4a374a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/angular/cli/src/commands/add

packages/angular/cli/src/commands/add/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ export default class AddCommandModule
261261
if (localManifest['ng-add']?.save === false) {
262262
shouldCleanUp = true;
263263
}
264-
} else {
264+
} else if (!Object.hasOwn(BUILT_IN_SCHEMATICS, result.collectionName)) {
265265
await this.cleanUpTemporaryDependency(result.collectionName);
266266
shouldCleanUp = false;
267267
}

0 commit comments

Comments
 (0)