Skip to content

Commit

Permalink
hhfab sample should return err not panic
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostman committed Oct 23, 2024
1 parent b3662fd commit aa6c237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/hhfab/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ func Run(ctx context.Context) error {
Flags: defaultFlags,
Before: before(false),
Action: func(_ *cli.Context) error {
panic("not implemented")
return fmt.Errorf("not available") //nolint:goerr113
},
},
{
Expand All @@ -474,7 +474,7 @@ func Run(ctx context.Context) error {
Flags: defaultFlags,
Before: before(false),
Action: func(_ *cli.Context) error {
panic("not implemented")
return fmt.Errorf("not available") //nolint:goerr113
},
},
},
Expand Down

0 comments on commit aa6c237

Please sign in to comment.