Skip to content

Commit

Permalink
Fix "emmpty" typo in config validate
Browse files Browse the repository at this point in the history
Signed-off-by: Kimmo Lehto <[email protected]>
  • Loading branch information
kke committed Oct 9, 2023
1 parent c99b608 commit d7ef151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/config/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func NewValidateCmd() *cobra.Command {
case "-":
reader = cmd.InOrStdin()
case "":
return errors.New("--config can't be emmpty")
return errors.New("--config can't be empty")
default:
f, err := os.Open(config.CfgFile)
if err != nil {
Expand Down

0 comments on commit d7ef151

Please sign in to comment.