mirror of https://github.com/daffainfo/nuclei.git
Fixed failing tests due to missing field declaration
parent
793db8a614
commit
010bab5aaf
|
@ -23,9 +23,11 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func ConfigureOptions() error {
|
func ConfigureOptions() error {
|
||||||
goflags.DefaultFileNormalizedStringSliceOptions.IsFromFile = func(s string) bool {
|
isFromFileFunc := func(s string) bool {
|
||||||
return !isTemplate(s)
|
return !isTemplate(s)
|
||||||
}
|
}
|
||||||
|
goflags.DefaultFileNormalizedStringSliceOptions.IsFromFile = isFromFileFunc
|
||||||
|
goflags.DefaultFileOriginalNormalizedStringSliceOptions.IsFromFile = isFromFileFunc
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue