From 0724ed1aeb25efc65668f3886ed4161da637bd0d Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 26 Apr 2022 18:10:52 +0100 Subject: [PATCH] Fix new rubocopy warnings --- config/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.5