Skip to content

Commit 071a467

Browse files
committed
WIP
1 parent eeecf85 commit 071a467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular/cli/src/package-managers/package-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ export class PackageManager {
550550
// Some package managers, like yarn classic, do not write a package.json when adding a package.
551551
// This can cause issues with subsequent `require.resolve` calls.
552552
// Writing an empty package.json file beforehand prevents this.
553-
await this.host.writeFile(join(workingDirectory, 'package.json'), '{}');
553+
// await this.host.writeFile(join(workingDirectory, 'package.json'), '{}');
554554

555555
const flags = [options.ignoreScripts ? this.descriptor.ignoreScriptsFlag : ''].filter(
556556
(flag) => flag,

0 commit comments

Comments
 (0)