Fixed failing tests due to missing field declaration
@@ -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
}
