Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lifecycleScripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = function install() {
return Promise.resolve();
}

return exec("node " + path.join(rootPath, "dist/nodegit.js"))
return exec("node \"" + path.join(rootPath, "dist/nodegit.js\""))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like return exec("node \"" + path.join(rootPath, "dist/nodegit.js\"")) should instead be return exec("node \"" + path.join(rootPath, "dist/nodegit.js") + "\"") but this has been open for long enough. I'll fix that in a later PR.

.catch(function(e) {
if (~e.toString().indexOf("Module version mismatch")) {
console.warn(
Expand Down