Skip to content

Commit 00a99e0

Browse files
committed
check for npm registry was backwards
1 parent cc050d6 commit 00a99e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lifecycleScripts/clean.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var npm = require("npm");
55
var Promise = require("nodegit-promise");
66

77
var rooted = path.join.bind(path, __dirname, "..");
8-
if (!fse.existsSync(rooted(".didntcomefromthenpmregistry"))) {
8+
if (fse.existsSync(rooted(".didntcomefromthenpmregistry"))) {
99
return;
1010
}
1111

lifecycleScripts/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ forNodeWebkit(local(".."))
2525
console.info("[nodegit] Must build for node-webkit");
2626
return checkAndBuild(nodeWebkitVersion);
2727
}
28-
if (!fs.existsSync(local("../.didntcomefromthenpmregistry"))) {
28+
if (fs.existsSync(local("../.didntcomefromthenpmregistry"))) {
2929
checkAndBuild();
3030
}
3131
if (process.env.BUILD_DEBUG) {

0 commit comments

Comments
 (0)