Skip to content

Commit

Permalink
refactor: optimize tips
Browse files Browse the repository at this point in the history
  • Loading branch information
a145789 committed Jan 30, 2024
1 parent 57cf775 commit dbb727f
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 @@ -34,7 +34,7 @@ export async function publish({ preRelease, checkRemoteVersion }: PublishCommand
try {
await execa('npm', ['view', `${config.name}@${config.version}`, 'version'])
s.warn({
text: `The npm package has a same remote version ${config.version}, please check it https://www.npmjs.com/package/${config.name}?activeTab=versions`,
text: `The npm package has a same remote version ${config.version}, publishing automatically skipped.`,
})
return
} catch {
Expand Down

0 comments on commit dbb727f

Please sign in to comment.