Skip to content

Conversation

@darktears
Copy link

It appears that Github either changed their way of querying files
or directory or the bug was always there but say you want to do :

repo.contents(branch, "MYFILE", function(err, contents) {}, false);

it currently doesn't work and list only the root directory of the
repository. Changing slightly the way Github.js query the contents
make things works correctly as expected.

It appears that Github either changed their way of querying files
or directory or the bug was always there but say you want to do :

repo.contents(branch, "MYFILE", function(err, contents) {}, false);

it currently doesn't work and list only the root directory of the
repository. Changing slightly the way Github.js query the contents
make things works correctly as expected.
@Arcath
Copy link

Arcath commented Mar 3, 2014

+1 for this

@w35l3y
Copy link

w35l3y commented May 21, 2014

It is related to #92

@aendra-rininsland
Copy link
Member

Both #92 and #127 solve this. If you can beat them to updating your PR, I'll merge this instead of those. 🏁

@aendra-rininsland
Copy link
Member

Closing as duplicate of merged PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants