github-tools / github-tools/github
response will be undefined for 404 endpoint
Aperta
- Lingua principale
- JavaScript
- Stelle
- 3.8k
- Fork
- 809
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
https://github.com/github-tools/github/blob/24223f7a51ba935f1c86ffd552dac20e8f3e359d/lib/Requestable.js#L187
In the above code **response** will be undefined if the request is for a non-existing endpoint (which will result in 404 response).
In-order to re-produce invoke getSha() method for a non-existing in the repository
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.