mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 15:43:16 +08:00
DEV: Fix stylesheet watcher (#16635)
This commit is contained in:
parent
2d143ec2fb
commit
64f03a7d05
|
@ -93,7 +93,7 @@ module Stylesheet
|
|||
end
|
||||
|
||||
def core_assets_refresh(target)
|
||||
if target.match(/wcag|color_definitions/)
|
||||
if target&.match(/wcag|color_definitions/)
|
||||
Stylesheet::Manager.clear_color_scheme_cache!
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user