Skip to content

Commit

Permalink
delete unnecessary 'return err' (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnnkkk7 authored Aug 21, 2022
1 parent b15b9d8 commit 07d5e88
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ func RunCommand(
return err
}
formatter = factory.NewDefault()
if err != nil {
return err
}
} else {
fType, ok := config.FormatterConfig["type"].(string)
if !ok {
Expand Down

0 comments on commit 07d5e88

Please sign in to comment.