2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

DEV: Incorrect name in precompile output. (#13602)

Follow-up to c54d58e28f
This commit is contained in:
Alan Guo Xiang Tan 2021-07-01 10:52:21 +08:00 committed by GitHub
parent b42e9e5c86
commit 3312e09d02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,10 +76,11 @@ class Stylesheet::Manager
compiled << "#{target}_#{theme.id}"
end
else
$stderr.puts "precompile target: #{target} #{name}"
theme = manager.get_theme(theme_id)
$stderr.puts "precompile target: #{target} #{theme&.name}"
Stylesheet::Manager::Builder.new(
target: target, theme: manager.get_theme(theme_id), manager: manager
target: target, theme: theme, manager: manager
).compile(force: true)
end
end