Commit ff5ea4aa by Adeel

Code: Improves binary test.

* Removes slash from URL.
parent f9a83485
......@@ -89,7 +89,7 @@ function getBinaryUrl() {
return flags['--sass-binary-url'] ||
package.nodeSassConfig ? package.nodeSassConfig.binaryUrl : null ||
process.env.SASS_BINARY_URL ||
['https://github.com/sass/node-sass/releases/download//v',
['https://github.com/sass/node-sass/releases/download/v',
package.version, '/', sass.binaryName].join('');
}
......
......@@ -123,7 +123,7 @@ function testBinary(options) {
try {
require('../').renderSync({
data: 's: { a: ss }'
data: 's { a: ss }'
});
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