-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
Description
$ vue list
Cli will throw error when github API rate limit exceeded, the response just like :
{
"message": "API rate limit exceeded for <your IP address>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
"documentation_url": "https://developer.github.com/v3/#rate-limiting"
}
But code expects an array, so get problem:
JSON.parse(body).forEach(function (repo) {
TypeError: JSON.parse(...).forEach is not a function