Skip to content

Commit 12d8763

Browse files
committed
Remove current working directory from search paths
Sass 3.4: The current working directory will no longer be placed onto the Sass load path by default. If you need the current working directory to be available, set SASS_PATH=. in your shell's environment.
1 parent 3753948 commit 12d8763

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/context.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ namespace Sass {
8787

8888
{
8989

90-
// add cwd to include paths
91-
include_paths.push_back(CWD);
90+
// Sass 3.4: The current working directory will no longer be placed onto the Sass load path by default.
91+
// If you need the current working directory to be available, set SASS_PATH=. in your shell's environment.
92+
// include_paths.push_back(CWD);
9293

9394
// collect more paths from different options
9495
collect_include_paths(c_options.include_path);

0 commit comments

Comments
 (0)