Skip to content

Commit

Permalink
okay rubocop...
Browse files Browse the repository at this point in the history
  • Loading branch information
siegy22 committed Jan 26, 2017
1 parent a1527f3 commit d27f11d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/dotenv/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d27f11d

Please sign in to comment.