DEV: fixup themes:install:archive flag (#28486)

Followup to a69f3a0880
This commit is contained in:
David Taylor 2024-08-22 13:22:37 +01:00 committed by GitHub
parent 67cde14a61
commit 819d07469d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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