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 Jun 26, 2015
1 parent d1930b8 commit d8015f8
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 @@ -34,6 +34,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 d8015f8

Please sign in to comment.