From d27f11d9bee89f9bf837a48ce291cc26be07d03b Mon Sep 17 00:00:00 2001 From: Yves Siegrist Date: Tue, 24 Jan 2017 09:16:24 +0100 Subject: [PATCH] okay rubocop... --- lib/dotenv/rails.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dotenv/rails.rb b/lib/dotenv/rails.rb index 86e796f8..489ea561 100644 --- a/lib/dotenv/rails.rb +++ b/lib/dotenv/rails.rb @@ -54,13 +54,14 @@ def self.load config.before_configuration { load } private + def dotenv_files envs = [ root.join(".env.#{Rails.env}.local"), root.join(".env.#{Rails.env}"), root.join(".env") ] - envs.insert(1, root.join(".env.local")) unless Rails.env == 'test' + envs.insert(1, root.join(".env.local")) unless Rails.env == "test" envs end end