mirror of
https://github.com/ffuf/ffuf
synced 2024-11-10 06:04:17 +00:00
Make linter happy
This commit is contained in:
parent
67ef1700f6
commit
4940685bff
2 changed files with 2 additions and 2 deletions
|
@ -227,7 +227,7 @@ func ConfigFromOptions(parseOpts *ConfigOptions, ctx context.Context, cancel con
|
|||
errs.Add(fmt.Errorf("sniper mode only supports one input command"))
|
||||
}
|
||||
}
|
||||
tmpEncoders := make(map[string]string, 0)
|
||||
tmpEncoders := make(map[string]string)
|
||||
for _, e := range parseOpts.Input.Encoders {
|
||||
if strings.Contains(e, ":") {
|
||||
key := strings.Split(e, ":")[0]
|
||||
|
|
|
@ -28,7 +28,7 @@ func NewInputProvider(conf *ffuf.Config) (ffuf.InputProvider, ffuf.Multierror) {
|
|||
errs.Add(fmt.Errorf("Input mode (-mode) %s not recognized", conf.InputMode))
|
||||
return &MainInputProvider{}, errs
|
||||
}
|
||||
mainip := MainInputProvider{Config: conf, msbIterator: 0, Encoders: make(map[string]*pencode.Chain, 0)}
|
||||
mainip := MainInputProvider{Config: conf, msbIterator: 0, Encoders: make(map[string]*pencode.Chain)}
|
||||
// Initialize the correct inputprovider
|
||||
for _, v := range conf.InputProviders {
|
||||
err := mainip.AddProvider(v)
|
||||
|
|
Loading…
Reference in a new issue