mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 03:54:08 +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
|
source_map_file: source_map_filename
|
||||||
)
|
)
|
||||||
rescue SassC::SyntaxError => e
|
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
|
# no special errors for theme, handled in theme editor
|
||||||
["", nil]
|
["", nil]
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user