From e5af03be010a38e9a4646378496f85f1947f28bd Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 2 Oct 2019 02:54:31 +0200 Subject: [PATCH] DEV: prevents attemps to redefine THEME_TARGETS constant (#8121) --- lib/stylesheet/importer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stylesheet/importer.rb b/lib/stylesheet/importer.rb index 5cf12e026dc..a0fccd0fa54 100644 --- a/lib/stylesheet/importer.rb +++ b/lib/stylesheet/importer.rb @@ -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 ||= {}