Skip to content

Commit

Permalink
fixup! Validate keys of custom commands
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaller committed Feb 17, 2025
1 parent 9fd487b commit 0126e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/user_config_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func validateKeybindings(keybindingConfig KeybindingConfig) error {
func validateCustomCommandKey(key string) error {
if !isValidKeybindingKey(key) {
return fmt.Errorf("Unrecognized key '%s' for custom command. For permitted values see %s",
strings.ToLower(key), constants.Links.Docs.CustomKeybindings)
key, constants.Links.Docs.CustomKeybindings)
}
return nil
}
Expand Down

0 comments on commit 0126e72

Please sign in to comment.