From 2235b79a8df19888ef4547bb509bd526a573235b Mon Sep 17 00:00:00 2001 From: Cesar Blum Silveira Date: Mon, 11 Apr 2016 16:35:45 -0700 Subject: [PATCH] Only reset repos that were cloned. --- makefile.shade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile.shade b/makefile.shade index be3dcbc9a6..ac010f7868 100644 --- a/makefile.shade +++ b/makefile.shade @@ -100,7 +100,7 @@ var buildTarget = "compile" Parallel.ForEach(repositories, repo => { - if (commitsToSync.ContainsKey(repo)) + if (commitsToSync.ContainsKey(repo) && Directory.Exists(repo)) { var syncHash = commitsToSync[repo]; Console.WriteLine(string.Format("Syncing {0} to {1}", repo, syncHash));