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 {
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue