Skip to content

Commit

Permalink
refactor: skip confirm registry when skipNpmPublish is true
Browse files Browse the repository at this point in the history
  • Loading branch information
chouchouji committed Dec 24, 2024
1 parent 4c3c25d commit efed5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export async function release(options: ReleaseCommandOptions) {
return
}

if (!(await confirmRegistry())) {
if (!options.skipNpmPublish && !(await confirmRegistry())) {
return
}

Expand Down

0 comments on commit efed5cb

Please sign in to comment.