We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d7517f commit a9d3fb0Copy full SHA for a9d3fb0
1 file changed
lifecycleScripts/postinstall.js
@@ -25,7 +25,7 @@ module.exports = function install() {
25
return Promise.resolve();
26
}
27
28
- return exec("node dist/nodegit.js")
+ return exec("node " + path.join(rootPath, "dist/nodegit.js"))
29
.catch(function(e) {
30
if (~e.toString().indexOf("Module version mismatch")) {
31
console.warn(
@@ -63,7 +63,7 @@ module.exports = function install() {
63
if (require.main === module) {
64
module.exports()
65
66
- console.error("[nodegit] ERROR - Could not finish postinstall");
+ console.warn("[nodegit] WARN - Could not finish postinstall");
67
68
if (
69
process.pladtform === "linux" &&
@@ -74,7 +74,5 @@ if (require.main === module) {
74
else {
75
console.log(e);
76
77
-
78
- process.exit(1);
79
});
80
0 commit comments