From d8c86e4758dcc968451d407f9256d84cdbbaa8f3 Mon Sep 17 00:00:00 2001 From: Jack Westbrook Date: Thu, 18 Jan 2024 12:36:25 +0100 Subject: [PATCH] fix(npm): prevent lerna version erroring with unknown registry arg --- plugins/npm/src/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/npm/src/index.ts b/plugins/npm/src/index.ts index e56dfe3d5..6c74819d6 100644 --- a/plugins/npm/src/index.ts +++ b/plugins/npm/src/index.ts @@ -980,7 +980,6 @@ export default class NPMPlugin implements IPlugin { "lerna", "version", useVersion || bump, - ...(await getRegistryArgs()), ...getLegacyAuthArgs(this.legacyAuth, { isMonorepo: true }), "--yes", "--no-push", @@ -1131,7 +1130,6 @@ export default class NPMPlugin implements IPlugin { "lerna", "version", canaryVersion, - ...(await getRegistryArgs()), ...getLegacyAuthArgs(this.legacyAuth, { isMonorepo: true }), "--yes", "--no-push",