Skip to content

Commit 976cdb4

Browse files
refactor(config): style
1 parent 88d0229 commit 976cdb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func Read(cli CLI) (Raw, error) {
196196
}
197197

198198
if configFile != "" {
199-
configFiles = append(configFiles, configFile)
199+
configFiles = []string{configFile}
200200
}
201201
} else if *cli.Config != "" {
202202
configFiles = []string{*cli.Config}

0 commit comments

Comments
 (0)