From b814ada81a0060be22ec2f24efb6be0ff8c16d95 Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Fri, 26 Feb 2016 16:33:59 -0800 Subject: [PATCH] Fixup --- src/Squirrel/ContentType.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Squirrel/ContentType.cs b/src/Squirrel/ContentType.cs index a62800ff0..a154763fa 100644 --- a/src/Squirrel/ContentType.cs +++ b/src/Squirrel/ContentType.cs @@ -14,10 +14,9 @@ public static void Clean(XmlDocument doc) } var children = typesElement.ChildNodes.OfType(); - for (var child in children) - { - if (child.GetAttribute("Extension") == "") - { + + foreach (var child in children) { + if (child.GetAttribute("Extension") == "") { typesElement.RemoveChild(child); } }