Skip to content

Commit 9407865

Browse files
author
Linus Miller
committed
Unshift instead of push current files path onto includePaths.
1 parent 0b84f2a commit 9407865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var gulpSass = function gulpSass(options, sync) {
4747
opts.includePaths = [];
4848
}
4949

50-
opts.includePaths.push(path.dirname(file.path));
50+
opts.includePaths.unshift(path.dirname(file.path));
5151

5252
// Generate Source Maps if plugin source-map present
5353
if (file.sourceMap) {

0 commit comments

Comments
 (0)