From 9bbd9063acbd5a21c5f53d260f0eee662eaef572 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 6 Apr 2011 22:41:23 +0800 Subject: [PATCH] gitlive.js --- gitlive.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gitlive.js b/gitlive.js index 0fdec0dc..05ceb9f3 100644 --- a/gitlive.js +++ b/gitlive.js @@ -192,8 +192,8 @@ var monitor = new Monitor({ done.push(JSON.stringify(cmd)); // --- we keep a list of repositories that will be pushed to at the end.. - if (repos.indexOf(cmd.repos) < 0) { - repos.push(cmd.repos); + if (repos.indexOf(cmd.repo) < 0) { + repos.push(cmd.repo); // Git.run(cmd.repos , 'pull'); // pull before we push! } @@ -221,7 +221,6 @@ var monitor = new Monitor({ break; } - }); -- 2.39.2