Limit occurrences of creating an environment object.
.env file is always read from the project_dir Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
0ff53d9668
commit
36f1b4589c
6 changed files with 57 additions and 27 deletions
|
|
@ -13,4 +13,5 @@ def build_config(contents, **kwargs):
|
|||
def build_config_details(contents, working_dir='working_dir', filename='filename.yml'):
|
||||
return ConfigDetails(
|
||||
working_dir,
|
||||
[ConfigFile(filename, contents)])
|
||||
[ConfigFile(filename, contents)],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue