We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e11e0e commit 7f5fe78Copy full SHA for 7f5fe78
1 file changed
lifecycleScripts/install.js
@@ -57,15 +57,15 @@ function checkAndBuild(nwVersion) {
57
return checkPrepared.checkAll()
58
.then(function(allGood) {
59
if (allGood) {
60
- return build(nwVersion);
+ return Promise.resolve();
61
}
62
else {
63
console.info("[nodegit] Something is missing, retrieving dependencies and regenerating code");
64
- return prepareForBuild()
65
- .then(function() {
66
67
- });
+ return prepareForBuild();
68
+ })
+ .then(function() {
+ return build(nwVersion);
69
});
70
71
0 commit comments