Skip to content

Commit ffb4558

Browse files
Ignore error from flags.MarkHidden
1 parent 72e7b37 commit ffb4558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/build/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func NewCmdBuild() *cobra.Command {
106106
flags.StringVar(&options.metadataFile, "metadata-file", "", "Write build result metadata to the file")
107107

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

111111
return cmd
112112
}

0 commit comments

Comments
 (0)