Skip to content

Commit 6356906

Browse files
author
Ændrew Rininsland
committed
Merge pull request #181 from jaimeagudo/patch-1
Update README.md
2 parents fb54ae3 + 8520e52 commit 6356906

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ Delete a repository
7878
repo.deleteRepo(function(err, res) {});
7979
```
8080

81-
Get contents at a particular path in a particular branch. Set sync to true to get contents via sync method.
81+
Get contents at a particular path in a particular branch.
8282

8383
```js
84-
repo.contents(branch, "path/to/dir", function(err, contents) {}, sync);
84+
repo.contents(branch, "path/to/dir", function(err, contents) {});
8585
```
8686

8787
Fork repository. This operation runs asynchronously. You may want to poll for `repo.contents` until the forked repo is ready.

0 commit comments

Comments
 (0)