chore: improve *.node doesn't exist warning msg (#1254)

This commit is contained in:
Amr Bashir 2022-08-03 02:01:15 +02:00 committed by GitHub
parent 9be7ae2bf9
commit 0e75c59f0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ export class PrePublishCommand extends Command {
if (!this.isDryRun) {
if (!existsSync(dstPath)) {
console.warn(`[${chalk.yellowBright(dstPath)}] is not existed`)
console.warn(`[${chalk.yellowBright(dstPath)}] doesn't exist`)
continue
}
await spawn(`${npmClient} publish`, {