mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 09:20:52 +01:00
Fixed exception on GitHub rate limit error (#1303)
this is caused by too many request to github
This commit is contained in:
parent
1127db13b0
commit
6b869f1d74
@ -64,7 +64,7 @@ export default class GitHub extends Abstract {
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
if (!(data instanceof Array))
|
||||
throw new TypeError
|
||||
return []
|
||||
|
||||
/* Display number of stars and forks, if repository is given */
|
||||
if (this.name_) {
|
||||
|
Loading…
Reference in New Issue
Block a user