mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 14:22:40 +08:00
FIX: LocalJumpError
in rake tasks (#14874)
`return` isn't allowed in a block context. A followup to #14865
This commit is contained in:
@ -179,7 +179,7 @@ task 's3:ensure_cors_rules' => :environment do
|
||||
|
||||
if !result
|
||||
puts "skipping"
|
||||
return
|
||||
next
|
||||
end
|
||||
|
||||
puts "Assets rules status: #{result[:assets_rules_status]}."
|
||||
|
Reference in New Issue
Block a user