mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 23:53:56 +08:00
FIX: Correct theme SCSS error handling
This commit is contained in:
parent
e74f851728
commit
e1e8cac58f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user