Fixed failing tests due to missing field declaration

dev
Ice3man 2022-02-23 21:45:55 +05:30
parent 793db8a614
commit 010bab5aaf
1 changed files with 3 additions and 1 deletions

View File

@ -23,9 +23,11 @@ import (
)
func ConfigureOptions() error {
goflags.DefaultFileNormalizedStringSliceOptions.IsFromFile = func(s string) bool {
isFromFileFunc := func(s string) bool {
return !isTemplate(s)
}
goflags.DefaultFileNormalizedStringSliceOptions.IsFromFile = isFromFileFunc
goflags.DefaultFileOriginalNormalizedStringSliceOptions.IsFromFile = isFromFileFunc
return nil
}