Commit e0aef954 by xzyfer

Fix typo in error handling

parent 33fbd2b6
......@@ -137,7 +137,7 @@ function checkAndDownloadBinary() {
mkdir.sync(path.dirname(cachedBinary));
fs.createReadStream(binaryPath)
.pipe(fs.createWriteStream(cachedBinary))
.on('error', function (e) {
.on('error', function (err) {
log.error('node-sass install', 'Failed to cache binary: %s', err);
});
} catch (err) {
......
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