Skip to content

Instantly share code, notes, and snippets.

@saper
Created March 14, 2015 14:00
Show Gist options
  • Select an option

  • Save saper/b1ee4b8fcbadbe16a3ac to your computer and use it in GitHub Desktop.

Select an option

Save saper/b1ee4b8fcbadbe16a3ac to your computer and use it in GitHub Desktop.
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