Skip to content

Commit

Permalink
Remove dup
Browse files Browse the repository at this point in the history
  • Loading branch information
tcnghia committed Feb 8, 2022
1 parent 872411c commit 09f79f9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/commands/options/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,6 @@ func (bo *BuildOptions) LoadConfig() error {
}
v.AddConfigPath(override)
}

if bo.WorkingDirectory == "" {
bo.WorkingDirectory = "."
}
v.AddConfigPath(bo.WorkingDirectory)

if err := v.ReadInConfig(); err != nil {
Expand Down

0 comments on commit 09f79f9

Please sign in to comment.