Skip to content

Commit 6f4378c

Browse files
committed
fix(ng-dev): don't run the pnpm run script spawn as silent mode
1 parent 7769f22 commit 6f4378c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ng-dev/release/publish/actions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ export abstract class ReleaseAction {
392392
// cause the pnpm install from within Bazel to errantly attempt to install a package that
393393
// does not exist.
394394
try {
395-
this.git.run(['clean', '-qdfX', '**/node_modules']);
395+
this.git.run(['clean', '-dfX', '**/node_modules']);
396396
} catch {}
397397
await ExternalCommands.invokePnpmInstall(this.projectDir);
398398
return;
@@ -405,7 +405,7 @@ export abstract class ReleaseAction {
405405
// we might be able to fix this with Yarn 2+, it is reasonable ensuring clean node modules.
406406
// TODO: Remove this when we use Yarn 2+ in all Angular repositories.
407407
try {
408-
this.git.run(['clean', '-qdfX', '**/node_modules']);
408+
this.git.run(['clean', '-dfX', '**/node_modules']);
409409
} catch {}
410410
await ExternalCommands.invokeYarnInstall(this.projectDir);
411411
}

ng-dev/release/publish/external-commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export abstract class ExternalCommands {
256256
spawnOptions: SpawnOptions = {},
257257
): Promise<SpawnResult> {
258258
if (PnpmVersioning.isUsingPnpm(projectDir)) {
259-
return ChildProcess.spawn('npx', ['--yes', 'pnpm', '-s', 'run', ...args], {
259+
return ChildProcess.spawn('npx', ['--yes', 'pnpm', 'run', ...args], {
260260
...spawnOptions,
261261
cwd: projectDir,
262262
});

0 commit comments

Comments
 (0)