FIX: Correct theme SCSS error handling

FIX: Correct theme SCSS error handling

diff --git a/lib/stylesheet/manager.rb b/lib/stylesheet/manager.rb
index 266c7f2..1b9b875 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

GitHub sha: e1e8cac5

1 Like