From b1812c4f2bde59c90ad0260a761a44868e4ee14a Mon Sep 17 00:00:00 2001 From: Katia GIL GUZMAN Date: Tue, 23 Oct 2018 11:53:25 +0200 Subject: [PATCH] Update Program.cs Fixed the error in Program.cs --- sketch2code/Import/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sketch2code/Import/Program.cs b/sketch2code/Import/Program.cs index e09fb40..b98e737 100644 --- a/sketch2code/Import/Program.cs +++ b/sketch2code/Import/Program.cs @@ -42,7 +42,7 @@ namespace Import .SelectMany(i => i.Tags .Select(t => t.TagName)) .Distinct() - .Where(t => !existingTags.Any(e => string.Compare(e.Name, t, ignoreCase: true))); + .Where(t => !existingTags.Any(e => string.Compare(e.Name, t, ignoreCase: true) == 0)); if (tagsToImport.Any()) { foreach (var tag in tagsToImport)