FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix clone example fetchOptions · turtle11311/nodegit@e9e55b7 · GitHub

Repository navigation

Commit e9e55b7

Browse files
committed
Fix clone example fetchOptions
1 parent 8d25941 commit e9e55b7

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎examples/clone.js‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ fse.remove(path).then(function() {
1010
"https://github.com/nodegit/nodegit.git",
1111
path,
1212
{
13-
remoteCallbacks: {
14-
certificateCheck: function() {
15-
// github will fail cert check on some OSX machines
16-
// this overrides that check
17-
return 1;
13+
fetchOpts: {
14+
callbacks: {
15+
certificateCheck: function() {
16+
// github will fail cert check on some OSX machines
17+
// this overrides that check
18+
return 1;
19+
}
1820
}
1921
}
2022
})

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL