refactor load_env to apply_environment
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ module Foreman
|
||||
# load contents of env_file into ENV
|
||||
def self.load_env!(env_file = './.env')
|
||||
require 'foreman/engine'
|
||||
Foreman::Engine.load_env(env_file)
|
||||
Foreman::Engine.load_env!(env_file)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user