File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ module.exports = function install() {
2525 return Promise . resolve ( ) ;
2626 }
2727
28- return exec ( "node dist/nodegit.js" )
28+ return exec ( "node " + path . join ( rootPath , " dist/nodegit.js") )
2929 . catch ( function ( e ) {
3030 if ( ~ e . toString ( ) . indexOf ( "Module version mismatch" ) ) {
3131 console . warn (
@@ -63,7 +63,7 @@ module.exports = function install() {
6363if ( require . main === module ) {
6464 module . exports ( )
6565 . catch ( function ( e ) {
66- console . error ( "[nodegit] ERROR - Could not finish postinstall" ) ;
66+ console . warn ( "[nodegit] WARN - Could not finish postinstall" ) ;
6767
6868 if (
6969 process . pladtform === "linux" &&
@@ -74,7 +74,5 @@ if (require.main === module) {
7474 else {
7575 console . log ( e ) ;
7676 }
77-
78- process . exit ( 1 ) ;
7977 } ) ;
8078}
You can’t perform that action at this time.
0 commit comments