add the .file property to options before handing off to node-sass

This commit is contained in:
Eugene ONeill 2015-09-29 19:17:23 -07:00
parent bb90ad76ee
commit 31a3218ae6

View file

@ -36,6 +36,7 @@ var gulpSass = function gulpSass(options, sync) {
opts = assign({}, options);
opts.data = file.contents.toString();
opts.file = file.path;
// Ensure `indentedSyntax` is true if a `.sass` file
if (path.extname(file.path) === '.sass') {