Skip to content

Commit

Permalink
chore: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
nekrassov01 committed Feb 27, 2024
1 parent 859e609 commit ad6d22b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,7 @@ func (a *app) action(c *cli.Context) error {
sort.Slice(list, func(i, j int) bool {
return list[i].DomainName < list[j].DomainName
})
if err := out(list, os.Stdout, a.dest.output, a.dest.noTimeInfo); err != nil {
return err
}
return nil
return out(list, os.Stdout, a.dest.output, a.dest.noTimeInfo)
}

func (a *app) before(c *cli.Context) error {
Expand Down

0 comments on commit ad6d22b

Please sign in to comment.