Skip to content

A platform for community discussion. Free, open, simple.

FIX: Correct theme SCSS error handling

David Taylore1e8cac58f9d
diff --git a/lib/stylesheet/manager.rb b/lib/stylesheet/manager.rb
index 266c7f2717f..1b9b8757b33 100644
--- a/lib/stylesheet/manager.rb
+++ b/lib/stylesheet/manager.rb
@@ -168,7 +168,7 @@ class Stylesheet::Manager
source_map_file: source_map_filename
)
rescue SassC::SyntaxError => e
- if Importer::THEME_TARGETS.include?(@target.to_s)
+ if Stylesheet::Importer::THEME_TARGETS.include?(@target.to_s)
# no special errors for theme, handled in theme editor
["", nil]
else