Skip to content

Commit

Permalink
fix panic in goal app flags
Browse files Browse the repository at this point in the history
  • Loading branch information
cce committed Aug 17, 2022
1 parent c6b1486 commit f3c3d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/goal/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func init() {

panicIfErr(methodAppCmd.MarkFlagRequired("method"))
panicIfErr(methodAppCmd.MarkFlagRequired("from"))
panicIfErr(methodAppCmd.Flags().MarkHidden("app-arg"))
panicIfErr(appCmd.PersistentFlags().MarkHidden("app-arg"))
}

func panicIfErr(err error) {
Expand Down

0 comments on commit f3c3d3e

Please sign in to comment.