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 0da630a commit 871e23bCopy full SHA for 871e23b
bin/npm-snapshot
@@ -52,11 +52,11 @@ const version = semverUtil.stringifySemver(semver);
52
if (!version) error("Could not create a valid version string.");
53
54
// Run npm verison without tagging
55
-const npm = spawn(/^win/.test(process.platform) ? "npm.cmd" : "npm", [
56
- "--no-git-tag-version",
57
- "version",
58
- version,
59
-]);
+const npm = spawn(
+ /^win/.test(process.platform) ? "npm.cmd" : "npm",
+ ["--no-git-tag-version", "version", version],
+ { shell: true }
+);
60
npm.stderr.pipe(process.stderr);
61
62
npm.on("close", function (code) {
0 commit comments