Commit 4f21cf11 by Adeel

Code: Saves extra nesting.

parent 7bb7ba0d
...@@ -119,7 +119,10 @@ function testBinary(options) { ...@@ -119,7 +119,10 @@ function testBinary(options) {
return build(options); return build(options);
} }
if (!process.env.SKIP_NODE_SASS_TESTS) { if (process.env.SKIP_NODE_SASS_TESTS) {
return;
}
fs.stat(path.join(__dirname, '..', 'vendor', options.bin, 'binding.node'), function (err) { fs.stat(path.join(__dirname, '..', 'vendor', options.bin, 'binding.node'), function (err) {
if (err) { if (err) {
return build(options); return build(options);
...@@ -153,7 +156,6 @@ function testBinary(options) { ...@@ -153,7 +156,6 @@ function testBinary(options) {
console.log('Binary is fine; exiting'); console.log('Binary is fine; exiting');
}); });
}); });
}
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment