Feat cronjob #23

Merged
metal3d merged 28 commits from feat-cronjob into master 2022-06-10 14:15:18 +00:00
Showing only changes of commit 918baa2ce0 - Show all commits

View File

@@ -53,7 +53,10 @@ func NewParser(filename []string, content ...string) *Parser {
}
// add the file at first position
if !found {
cli.DefaultFileNames = append(filename, cli.DefaultFileNames...)
cli.DefaultFileNames = append([]string{filename[0]}, cli.DefaultFileNames...)
}
if len(filename) > 1 {
cli.DefaultOverrideFileNames = append(filename[1:], cli.DefaultOverrideFileNames...)
}
}