Skip to content

Commit 5570295

Browse files
author
John Haley
committed
Remove unneeded connect call from push example
1 parent dd65481 commit 5570295

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/push.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ fse.remove(path.resolve(__dirname, repoDir))
5757
}
5858
});
5959

60-
return remote.connect(nodegit.Enums.DIRECTION.PUSH);
61-
})
62-
.then(function() {
6360
// Create the push object for this remote
6461
return remote.push(
6562
["refs/heads/master:refs/heads/master"],

0 commit comments

Comments
 (0)