mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 05:53:52 +08:00
DEV: fixup themes:install:archive flag (#28486)
Followup to a69f3a0880154bf0cbbdf573e527e79b3cd571f8
This commit is contained in:
@ -56,7 +56,7 @@ end
|
||||
desc "Install themes & theme components from an archive"
|
||||
task "themes:install:archive" => :environment do |task, args|
|
||||
filename = ENV["THEME_ARCHIVE"]
|
||||
update_components = ENV["UPDATE_COMPONENTS"] == "0" ? false : true
|
||||
update_components = ENV["UPDATE_COMPONENTS"] == "0" ? "none" : nil
|
||||
RemoteTheme.update_zipped_theme(filename, File.basename(filename), update_components:)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user