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));