Skip to content

Fix pull and clone example fetchOptions structure#848

Merged
johnhaley81 merged 2 commits into
nodegit:masterfrom
nicolasartman:patch-1
Jan 5, 2016
Merged

Fix pull and clone example fetchOptions structure#848
johnhaley81 merged 2 commits into
nodegit:masterfrom
nicolasartman:patch-1

Conversation

@nicolasartman

Copy link
Copy Markdown
Contributor

This line and my own trial and error with a project leads me to believe the auth callbacks need to be nested under the callbacks key in fetch options.

This also applies to the clone example I think, though it requires a structure of fetchOpts.callbacks..

@johnhaley81

Copy link
Copy Markdown
Collaborator

Thanks for the PR @nicolasartman!

johnhaley81 added a commit that referenced this pull request Jan 5, 2016
Fix pull and clone example fetchOptions structure
@johnhaley81 johnhaley81 merged commit f7f9c87 into nodegit:master Jan 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants