Commit c290f2f9 by Michael Mifsud

Merge pull request #1032 from saper/nodeSassConfig

Provide nodeSassConfig hardcoded defaults
parents 310d7818 78ac14fb
...@@ -104,7 +104,9 @@ function getBinaryName() { ...@@ -104,7 +104,9 @@ function getBinaryName() {
function getBinaryUrl() { function getBinaryUrl() {
var site = flags['--sass-binary-site'] || var site = flags['--sass-binary-site'] ||
process.env.SASS_BINARY_SITE || process.env.SASS_BINARY_SITE ||
pkg.nodeSassConfig.binarySite; (pkg.nodeSassConfig && pkg.nodeSassConfig.binarySite) ||
'https://github.com/sass/node-sass/releases/download';
return [site, 'v' + pkg.version, sass.binaryName].join('/'); return [site, 'v' + pkg.version, sass.binaryName].join('/');
} }
......
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