mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
fix typo, fix linting errors
This commit is contained in:
parent
005e661479
commit
684770ff2e
3 changed files with 9 additions and 7 deletions
|
|
@ -41,12 +41,12 @@ func run(cfg *config, domains []string) error {
|
|||
d.forwarder = f
|
||||
}
|
||||
|
||||
// If the enumerate-only flag is set, enumerate found PMDs,
|
||||
// else use the normal load method
|
||||
if cfg.EnumeratePMDOnly {
|
||||
// Enumerate only
|
||||
return d.runEnumerate(domains)
|
||||
} else {
|
||||
return d.run(ctx, domains)
|
||||
}
|
||||
return d.run(ctx, domains)
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue