Skip to content

Commit

Permalink
Fix for SourceComments including stdin instead of proper file path
Browse files Browse the repository at this point in the history
  • Loading branch information
aphex committed May 25, 2015
1 parent 4045aaa commit 571a580
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ var gulpSass = function gulpSass(options, sync) {

opts = assign({}, options);
opts.data = file.contents.toString();
opts.file = opts.file || file.path;

// Ensure `indentedSyntax` is true if a `.sass` file
if (path.extname(file.path) === '.sass') {
Expand Down

0 comments on commit 571a580

Please sign in to comment.