| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5d7517f commit a9d3fb0
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,7 +25,7 @@ module.exports = function install() { | |||
| 25 | 25 | return Promise.resolve(); | |
| 26 | 26 | } | |
| 27 | 27 | ||
| 28 | - return exec("node dist/nodegit.js") | ||
| 28 | + return exec("node " + path.join(rootPath, "dist/nodegit.js")) | ||
| 29 | 29 | .catch(function(e) { | |
| 30 | 30 | if (~e.toString().indexOf("Module version mismatch")) { | |
| 31 | 31 | console.warn( | |
@@ -63,7 +63,7 @@ module.exports = function install() { | |||
| 63 | 63 | if (require.main === module) { | |
| 64 | 64 | module.exports() | |
| 65 | 65 | .catch(function(e) { | |
| 66 | - console.error("[nodegit] ERROR - Could not finish postinstall"); | ||
| 66 | + console.warn("[nodegit] WARN - Could not finish postinstall"); | ||
| 67 | 67 | ||
| 68 | 68 | if ( | |
| 69 | 69 | process.pladtform === "linux" && | |
@@ -74,7 +74,5 @@ if (require.main === module) { | |||
| 74 | 74 | else { | |
| 75 | 75 | console.log(e); | |
| 76 | 76 | } | |
| 77 | - | ||
| 78 | - process.exit(1); | ||
| 79 | 77 | }); | |
| 80 | 78 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments