Add lineNumber & fileName to emitted error

This commit is contained in:
MethodGrab 2015-02-10 13:45:07 +00:00
parent f02d06799a
commit 1a1c1b4cd9

View file

@ -69,6 +69,9 @@ module.exports = function (options) {
opts.onError(err);
return cb();
}
err.lineNumber = err.line;
err.fileName = err.file;
return cb(new gutil.PluginError('gulp-sass', err));
};