Skip to content

Commit

Permalink
Update cmd/vanitySubdomains.go
Browse files Browse the repository at this point in the history
Co-authored-by: Han Qiao <[email protected]>
  • Loading branch information
darora and sweatybridge authored Dec 9, 2022
1 parent 33073f9 commit cf29400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/vanitySubdomains.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Usage of vanity subdomains and custom domains is mutually exclusive.`,
if !experimental {
return errors.New("must set the --experimental flag to run this command")
}
return nil
return cmd.Root().PersistentPreRunE(cmd, args)
},
}

Expand Down

0 comments on commit cf29400

Please sign in to comment.