Skip to content

Commit

Permalink
Merge pull request #374 from xzyfer/feat/node-sass-3-4
Browse files Browse the repository at this point in the history
Node Sass 3.4.0
  • Loading branch information
xzyfer committed Oct 25, 2015
2 parents 07a93a8 + 57f8c6d commit 830e7f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ var gulpSass = function gulpSass(options, sync) {
relativePath = path.relative(process.cwd(), filePath);

message += gutil.colors.underline(relativePath) + '\n';
message += gutil.colors.gray(' ' + error.line + ':' + error.column) + ' ';
message += error.message;
message += error.formatted;

error.messageFormatted = message;
error.message = gutil.colors.stripColor(message);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"dependencies": {
"gulp-util": "^3.0",
"node-sass": "^3.4.0-beta1",
"node-sass": "^3.4.0",
"object-assign": "^2.0.0",
"through2": "^0.6.3",
"vinyl-sourcemaps-apply": "~0.1.1"
Expand Down
2 changes: 1 addition & 1 deletion test/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ describe('gulp-sass -- async compile', function() {
// Error must include file error occurs in
err.message.indexOf('test/scss/error.scss').should.not.equal(-1);
// Error must include line and column error occurs on
err.message.indexOf('2:3').should.not.equal(-1);
err.message.indexOf('on line 2').should.not.equal(-1);
done();
});
stream.write(errorFile);
Expand Down

0 comments on commit 830e7f8

Please sign in to comment.