Skip to content

Commit

Permalink
Fix CI (format files)
Browse files Browse the repository at this point in the history
  • Loading branch information
kachkaev committed Dec 7, 2023
1 parent f5e0ddd commit 18ad45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const isHotkeyMatchingKeyboardEvent = (e: KeyboardEvent, hotkey: Hotkey,
const pressedKey = pressedKeyUppercase.toLowerCase()

if (!keys?.includes(keyCode) && !['ctrl', 'control', 'unknown', 'meta', 'alt', 'shift', 'os'].includes(keyCode)) {
return false;
return false
}

if (!ignoreModifiers) {
Expand Down

0 comments on commit 18ad45e

Please sign in to comment.