Test get_project_name from env file
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
d55fc85fea
commit
f48da96e8b
2 changed files with 19 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class Environment(dict):
|
|||
return result
|
||||
env_file_path = os.path.join(base_dir, '.env')
|
||||
try:
|
||||
result.update(env_vars_from_file(env_file_path))
|
||||
return cls(env_vars_from_file(env_file_path))
|
||||
except ConfigurationError:
|
||||
pass
|
||||
return result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue