Skip to content

Commit

Permalink
okay rubocop...
Browse files Browse the repository at this point in the history
  • Loading branch information
siegy22 committed Jan 24, 2017
1 parent 8020c9a commit b9fb116
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/dotenv/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ def self.load
config.before_configuration { load }

private

def dotenv_files
envs = [
root.join(".env.#{Rails.env}"),
root.join(".env")
]
envs.unshift root.join(".env.local") unless Rails.env == 'test'
root.join(".env.#{Rails.env}"),
root.join(".env")
]
envs.unshift root.join(".env.local") unless Rails.env == "test"
envs
end
end
Expand Down

0 comments on commit b9fb116

Please sign in to comment.