mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:25:35 +08:00
DEV: prevents attemps to redefine THEME_TARGETS constant (#8121)
This commit is contained in:
parent
6e815ba032
commit
e5af03be01
|
@ -7,7 +7,7 @@ module Stylesheet
|
|||
class Importer < SassC::Importer
|
||||
include GlobalPath
|
||||
|
||||
THEME_TARGETS = %w{embedded_theme mobile_theme desktop_theme}
|
||||
THEME_TARGETS ||= %w{embedded_theme mobile_theme desktop_theme}
|
||||
|
||||
def self.special_imports
|
||||
@special_imports ||= {}
|
||||
|
|
Loading…
Reference in New Issue
Block a user