Skip to content

Commit

Permalink
update type
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
  • Loading branch information
qweeah committed Apr 11, 2023
1 parent 5760181 commit 5c2738d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/experimental/experimental.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func CheckCommandAndWarn(cmd *cobra.Command, args []string) error {
}

// FlagsChecker returns the function which checks whether flags are not set.
func FlagsChecker(flags []string) func(cmd *cobra.Command, args []string) error {
func FlagsChecker(flags ...string) func(cmd *cobra.Command, args []string) error {
return func(cmd *cobra.Command, args []string) error {
if err := Check(func() (string, bool) {
var changed []string
Expand Down

0 comments on commit 5c2738d

Please sign in to comment.