From: Tom Hughes Date: Tue, 26 Apr 2022 17:10:52 +0000 (+0100) Subject: Fix new rubocopy warnings X-Git-Tag: live~1669 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0724ed1aeb25efc65668f3886ed4161da637bd0d Fix new rubocopy warnings --- diff --git a/config/application.rb b/config/application.rb index 10a2372db..b801c8b5f 100644 --- a/config/application.rb +++ b/config/application.rb @@ -1,6 +1,6 @@ require_relative "boot" -if ENV["OPENSTREETMAP_STATUS"] == "database_offline" +if ENV.fetch("OPENSTREETMAP_STATUS", nil) == "database_offline" require "active_model/railtie" require "active_job/railtie" require "active_storage/engine"