We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347c0f1 commit d238f8fCopy full SHA for d238f8f
build/index.js
@@ -30,7 +30,9 @@ function update (ids) {
30
31
bundle.version = release
32
? process.env.npm_package_version
33
- : require('child_process').execSync('echo "@$(git rev-parse --short HEAD)$(git diff-index --quiet HEAD || echo -dirty)"');
+ : (require('child_process')
34
+ .execSync('echo "@$(git rev-parse --short HEAD)$(git diff-index --quiet HEAD || echo -dirty)"')
35
+ .toString().trim());
36
37
bundle.write(b.bundle());
38
}
0 commit comments