Skip to content

Commit 288ab93

Browse files
authored
Merge pull request #1148 from jon-hall/patch-1
Fix postinstall script crash when install location has spaces in its path
2 parents 91f5233 + 0c55932 commit 288ab93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lifecycleScripts/postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = function install() {
3030
return Promise.resolve();
3131
}
3232

33-
return exec("node " + path.join(rootPath, "dist/nodegit.js"))
33+
return exec("node \"" + path.join(rootPath, "dist/nodegit.js\""))
3434
.catch(function(e) {
3535
if (~e.toString().indexOf("Module version mismatch")) {
3636
console.warn(

0 commit comments

Comments
 (0)