Skip to content

Commit c8a5025

Browse files
committed
non-registry builds could trigger building twice
1 parent 00a99e0 commit c8a5025

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lifecycleScripts/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ forNodeWebkit(local(".."))
2626
return checkAndBuild(nodeWebkitVersion);
2727
}
2828
if (fs.existsSync(local("../.didntcomefromthenpmregistry"))) {
29-
checkAndBuild();
29+
return checkAndBuild();
3030
}
3131
if (process.env.BUILD_DEBUG) {
3232
console.info("[nodegit] Doing a debug build, no fetching allowed.");

0 commit comments

Comments
 (0)