Skip to content

Commit

Permalink
Merge pull request #8819 from ulyssessouza/dotenv-wrkdir-order
Browse files Browse the repository at this point in the history
Fix project settings' options order
  • Loading branch information
mat007 authored Oct 23, 2021
2 parents d38a315 + 2530bd9 commit 6476e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/compose/compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ func (o *projectOptions) toProject(services []string, po ...cli.ProjectOptionsFn
func (o *projectOptions) toProjectOptions(po ...cli.ProjectOptionsFn) (*cli.ProjectOptions, error) {
return cli.NewProjectOptions(o.ConfigPaths,
append(po,
cli.WithWorkingDirectory(o.ProjectDir),
cli.WithEnvFile(o.EnvFile),
cli.WithDotEnv,
cli.WithOsEnv,
cli.WithWorkingDirectory(o.ProjectDir),
cli.WithConfigFileEnv,
cli.WithDefaultConfigPath,
cli.WithName(o.ProjectName))...)
Expand Down

0 comments on commit 6476e10

Please sign in to comment.