From 82cc0d4bf0d10f9de3f9af05a4f9065093e06478 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Wed, 10 Sep 2025 17:20:36 +0000 Subject: [PATCH] fix(ng-dev): fix git clean command The command was incorrect. --- ng-dev/release/publish/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng-dev/release/publish/actions.ts b/ng-dev/release/publish/actions.ts index 4e9b9afd7..7f287fcde 100644 --- a/ng-dev/release/publish/actions.ts +++ b/ng-dev/release/publish/actions.ts @@ -368,7 +368,7 @@ export abstract class ReleaseAction { this.git.run(['checkout', '-q', 'FETCH_HEAD', '--detach']); try { // Remove node_modules even if they are ignored. (We do not want to run -dxf to avoid deleting other files suchs as .ng-dev-lock) - this.git.run(['clean', 'git clean -dfX **/node_modules']); + this.git.run(['clean', '-qdfX **/node_modules']); } catch {} }