mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 14:12:10 +08:00
DEV: Fix stylesheet watcher (#16635)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user