Skip to content

Commit b1e60c7

Browse files
committed
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.
1 parent e04d90a commit b1e60c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ng-dev/release/versioning/npm-command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export abstract class NpmCommand {
4040
message: string,
4141
registryUrl: string | undefined,
4242
) {
43-
const args = ['deprecate', `${packageName}@"${version}"`, `"${message}"`];
43+
const args = ['deprecate', `${packageName}@${version}`, message];
4444

4545
// If a custom registry URL has been specified, add the `--registry` flag.
4646
if (registryUrl !== undefined) {

0 commit comments

Comments
 (0)