philschatz / octokat.js

:octocat: Github API Client using Promises or callbacks. Intended for the browser or NodeJS.
http://philschatz.com/2014/05/25/octokat/
MIT License
421 stars 133 forks source link

Another Invalid Path bug #102

Open RichardLitt opened 8 years ago

RichardLitt commented 8 years ago

Relevant code.

To reproduce: Download repo, then:

$ node cli.js test
BUG: Invalid Path. If this is actually a valid path then please update the URL_VALIDATOR. path=/users/
[@diasdavid](//github.com/diasdavid) (David Dias)
[@jbenet](//github.com/jbenet) (Juan Benet)
[@RichardLitt](//github.com/RichardLitt) (Richard Littauer)

Not sure why test is an invalid path.

natew commented 7 years ago

Found another one:

image

Via:

https://api.github.com/organizations/10092752/repos?page=2

By calling:

octocat.orgs(org).repos.fetchAll()
RichardLitt commented 7 years ago

I can confirm and replicate @natew's above.