We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 532c882 commit 1548ba2Copy full SHA for 1548ba2
scripts/prepublish.mjs
@@ -12,7 +12,7 @@ await $`git add -A .`
12
try {
13
await $`git commit -m "version ${version} snapshot"`
14
} catch (e) {
15
- if (!e.message.includes('nothing to commit')) {
+ if (!e.stdout.includes('nothing to commit')) {
16
throw e
17
}
18
0 commit comments