Skip to content

Commit 2ce4051

Browse files
committed
Handle change in Sass 3.4.2 that requires importer paths to exist.
1 parent fc349ef commit 2ce4051

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

compass-style.org/content/CHANGELOG.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ The Documentation for the [latest preview release](http://beta.compass-style.org
1616

1717
Every release contains updated caniuse data unless otherwise noted.
1818

19+
1.0.2 (UNRELEASED)
20+
------------------
21+
22+
* Handle change in Sass 3.4.2 that requires importer paths to exist.
23+
1924
1.0.1 (08/19/2014)
2025
------------------
2126

core/lib/compass/configuration/adapters.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def to_sass_engine_options
7979

8080
def sass_load_paths
8181
load_paths = []
82-
load_paths << sass_path if sass_path
82+
load_paths << sass_path if sass_path && File.directory?(sass_path)
8383
Compass::Frameworks::ALL.each do |f|
8484
load_paths << f.stylesheets_directory if File.directory?(f.stylesheets_directory)
8585
end

0 commit comments

Comments
 (0)