chore: fix lint
parent
5b8e13c4eb
commit
adb54bb92b
|
@ -29,7 +29,10 @@ func (a *action) Run(c *cli.Context) error {
|
||||||
|
|
||||||
if !a.flags.write &&
|
if !a.flags.write &&
|
||||||
!a.flags.diff {
|
!a.flags.diff {
|
||||||
a.RunHelp(c)
|
if err := a.RunHelp(c); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
fmt.Println("Error: -w or -d must required one")
|
fmt.Println("Error: -w or -d must required one")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue