mirror of https://github.com/daffainfo/nuclei.git
Misc update
parent
1b00efc8e3
commit
274dc490a4
|
@ -564,7 +564,7 @@ func updateNucleiVersionToLatest(verbose bool) error {
|
|||
return errors.Wrap(err, "could not fetch latest release")
|
||||
}
|
||||
if len(releases) == 0 {
|
||||
return errors.New("no latest releases found for repository")
|
||||
return nil
|
||||
}
|
||||
|
||||
latest := releases[0]
|
||||
|
|
Loading…
Reference in New Issue