Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ShortcutManager): return empty string for invalid keycode during …
…normalization [KHCP-11186] (#2137) Datadog reported that in `normalizeKeyCode` method, `.replace` was being accessed on `undefined`. So added a check to early return with an empty string in case the parameter passed to the method is `undefined`, or an invalid string. Extended explanation [here](https://konghq.atlassian.net/browse/KHCP-11186?focusedCommentId=129798)
- Loading branch information