-
-
Save saper/b1ee4b8fcbadbe16a3ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/scripts/install.js b/scripts/install.js | |
| index e7dbd3c..6c3ddea 100644 | |
| --- a/scripts/install.js | |
| +++ b/scripts/install.js | |
| @@ -25,6 +25,7 @@ function download(url, dest, cb) { | |
| cb(typeof err.message === 'string' ? err.message : err); | |
| }; | |
| + console.log(['Fetching from:', url].join()); | |
| request.get(url, options).on('response', function(response) { | |
| if (response.statusCode < 200 || response.statusCode >= 300) { | |
| returnError(['Can not download file from:', url].join()); | |
| @@ -86,6 +87,7 @@ function checkAndDownloadBinary() { | |
| return; | |
| } | |
| + console.log(["URL:",process.sass.binaryUrl,"PATH:",process.sass.binaryPath].join()); | |
| download(process.sass.binaryUrl, process.sass.binaryPath, function(err) { | |
| if (err) { | |
| console.error(err); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment