From 55702958f0019a1402c9c282b1452f3e96169562 Mon Sep 17 00:00:00 2001 From: John Haley Date: Thu, 12 Mar 2015 11:02:00 -0700 Subject: [PATCH] Remove unneeded connect call from push example --- examples/push.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/push.js b/examples/push.js index 3508097e2..1c9b2ee2a 100644 --- a/examples/push.js +++ b/examples/push.js @@ -57,9 +57,6 @@ fse.remove(path.resolve(__dirname, repoDir)) } }); - return remote.connect(nodegit.Enums.DIRECTION.PUSH); - }) - .then(function() { // Create the push object for this remote return remote.push( ["refs/heads/master:refs/heads/master"],