Skip to content

Commit

Permalink
fix create_staging_data.rake
Browse files Browse the repository at this point in the history
  • Loading branch information
armandofox committed Jul 18, 2024
1 parent c697203 commit 3038310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/create_staging_data.rake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module StagingHelper
end
def self.switch_to_staging!
abort_if_production!
# abort "Only a1-staging and sandbox are valid tenants" unless ['a1-staging','sandbox'].include?(StagingHelper::TENANT)
abort "Only a1-staging and sandbox are valid tenants" unless ['a1-staging','sandbox'].include?(StagingHelper::TENANT)
Apartment::Tenant.switch! StagingHelper::TENANT
end
end
Expand Down

0 comments on commit 3038310

Please sign in to comment.