FIX: Correct theme SCSS error handling

This commit is contained in:
David Taylor 2019-09-17 10:19:59 +01:00
parent e74f851728
commit e1e8cac58f
1 changed files with 1 additions and 1 deletions

View File

@ -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