We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 476d81f commit ec68c98Copy full SHA for ec68c98
1 file changed
lifecycleScripts/install.js
@@ -27,6 +27,7 @@ module.exports = function install() {
27
28
return new Promise(function(resolve, reject) {
29
var spawnedNodePreGyp = spawn(nodePreGyp, args, {
30
+ shell: process.platform === "win32",
31
env: Object.assign({}, process.env, {
32
npm_config_node_gyp: path.join(__dirname, "..", "node_modules",
33
"node-gyp", "bin", "node-gyp.js")
@@ -60,6 +61,6 @@ if (require.main === module) {
60
61
.catch(function(e) {
62
console.error("[nodegit] ERROR - Could not finish install");
63
console.error("[nodegit] ERROR - finished with error code: " + e);
- process.exit(e);
64
+ process.exit(1);
65
});
66
}
0 commit comments