mirror of https://github.com/daffainfo/nuclei.git
removing unwanted print debug (#2995)
parent
7093180b6d
commit
6cdff62381
|
@ -658,9 +658,7 @@ func init() {
|
||||||
return parsedTime.Unix(), nil
|
return parsedTime.Unix(), nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
errorMessage := "could not parse the current input with the default layouts"
|
return nil, fmt.Errorf("could not parse the current input with the default layouts")
|
||||||
gologger.Debug().Msg(errorMessage + ":\n" + strings.Join(defaultDateTimeLayouts, "\t\n"))
|
|
||||||
return nil, fmt.Errorf(errorMessage)
|
|
||||||
} else if len(args) == 2 {
|
} else if len(args) == 2 {
|
||||||
layout := types.ToString(args[1])
|
layout := types.ToString(args[1])
|
||||||
parsedTime, err := time.Parse(layout, input)
|
parsedTime, err := time.Parse(layout, input)
|
||||||
|
|
Loading…
Reference in New Issue