fix: log errors rather than allowing unhandled rejections
This commit is contained in:
parent
e085888314
commit
b81a3ab8a9
|
@ -52,4 +52,4 @@ const run = async () => {
|
||||||
process.stdout.write(execSync(`npm publish --access=public`))
|
process.stdout.write(execSync(`npm publish --access=public`))
|
||||||
process.stdout.write(execSync(`git checkout package.json`))
|
process.stdout.write(execSync(`git checkout package.json`))
|
||||||
}
|
}
|
||||||
run()
|
run().catch(console.error)
|
||||||
|
|
Loading…
Reference in New Issue