github / github/hotkey

TypeError: Cannot read properties of undefined (reading 'startsWith')

Aperta
#70 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
3.3k
Fork
99
Merge medio
14h 22m
PR unite (30g)
6

Descrizione

We are observing a `TypeError` from this line:

```.ts
const elideShift = event.code.startsWith('Key') && event.shiftKey && event.key.toUpperCase() === event.key;
```

See: [Sentry](https://sentry.io/organizations/github/issues/?project=1890375&query=is%3Aunresolved+github%2Fhotkey&sort=new&statsPeriod=1h)

Though this was first seen 9 months ago, looks like there has been a recent spike.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.