Skip to content

Commit

Permalink
fix(npm): prevent lerna version erroring with unknown registry arg
Browse files Browse the repository at this point in the history
  • Loading branch information
jackw committed Jan 18, 2024
1 parent 7a6f0ae commit d8c86e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/npm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,6 @@ export default class NPMPlugin implements IPlugin {
"lerna",
"version",
useVersion || bump,
...(await getRegistryArgs()),
...getLegacyAuthArgs(this.legacyAuth, { isMonorepo: true }),
"--yes",
"--no-push",
Expand Down Expand Up @@ -1131,7 +1130,6 @@ export default class NPMPlugin implements IPlugin {
"lerna",
"version",
canaryVersion,
...(await getRegistryArgs()),
...getLegacyAuthArgs(this.legacyAuth, { isMonorepo: true }),
"--yes",
"--no-push",
Expand Down

0 comments on commit d8c86e4

Please sign in to comment.