Commit a15f54c2 by Michael Mifsud

Merge pull request #1452 from saper/fix-build

Fix script/build.js logic
parents 1e4bba88 4f420a55
......@@ -41,7 +41,7 @@ function afterBuild(options) {
return;
}
console.log('Installed in `', install, '`');
console.log('Installed in "' + install + '"');
});
});
});
......@@ -196,11 +196,11 @@ function testBinary(options) {
return build(options);
}
if (!sass.getBinaryPath()) {
if (!sass.hasBinary(sass.getBinaryPath())) {
return build(options);
}
console.log('`', sass.getBinaryPath(), '` exists.', eol, 'testing binary.');
console.log('"' + sass.getBinaryPath() + '" exists.', eol, 'testing binary.');
try {
require('../').renderSync({
......
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