From b1e60c702a0fb9741296c7f2cafd15f1e8a3c10e Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Wed, 22 Apr 2026 11:46:21 +0000 Subject: [PATCH] fix(ng-dev): remove unnecessary quotes from npm deprecate arguments With the recent changes to disable the shell in the ChildProcess wrappers, quotes are passed literally to the command. This removes the unnecessary quotes around the version to ensure the deprecate command functions correctly. --- ng-dev/release/versioning/npm-command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng-dev/release/versioning/npm-command.ts b/ng-dev/release/versioning/npm-command.ts index 142dd028e1..b16fb74e51 100644 --- a/ng-dev/release/versioning/npm-command.ts +++ b/ng-dev/release/versioning/npm-command.ts @@ -40,7 +40,7 @@ export abstract class NpmCommand { message: string, registryUrl: string | undefined, ) { - const args = ['deprecate', `${packageName}@"${version}"`, `"${message}"`]; + const args = ['deprecate', `${packageName}@${version}`, message]; // If a custom registry URL has been specified, add the `--registry` flag. if (registryUrl !== undefined) {