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
1 changed files with 3 additions and 2 deletions

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