DEV: prevents attemps to redefine THEME_TARGETS constant (#8121)

This commit is contained in:
Joffrey JAFFEUX 2019-10-02 02:54:31 +02:00 committed by Sam
parent 6e815ba032
commit e5af03be01

View File

@ -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 ||= {}