Merge branch 'cesarbs/only-sync-cloned-repos' into dev

This commit is contained in:
Cesar Blum Silveira 2016-04-11 12:00:35 -07:00
commit c0d3adc927
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ var buildTarget = "compile"
Parallel.ForEach(repositories, repo => Parallel.ForEach(repositories, repo =>
{ {
if (commitsToSync.ContainsKey(repo)) if (commitsToSync.ContainsKey(repo) && Directory.Exists(repo))
{ {
var syncHash = commitsToSync[repo]; var syncHash = commitsToSync[repo];
Console.WriteLine(string.Format("Syncing {0} to {1}", repo, syncHash)); Console.WriteLine(string.Format("Syncing {0} to {1}", repo, syncHash));