Skip to content

Commit

Permalink
Ignore error from flags.MarkHidden
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Mar 19, 2022
1 parent 72e7b37 commit ffb4558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func NewCmdBuild() *cobra.Command {
flags.StringVar(&options.metadataFile, "metadata-file", "", "Write build result metadata to the file")

flags.BoolVar(&options.noLoad, "no-load", false, "Overrides the default --load flag")
flags.MarkHidden("no-load")
_ = flags.MarkHidden("no-load")

return cmd
}

0 comments on commit ffb4558

Please sign in to comment.