Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed Feb 27, 2016
1 parent 226d3ef commit b814ada
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Squirrel/ContentType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ public static void Clean(XmlDocument doc)
}

var children = typesElement.ChildNodes.OfType<XmlElement>();
for (var child in children)
{
if (child.GetAttribute("Extension") == "")
{

foreach (var child in children) {
if (child.GetAttribute("Extension") == "") {
typesElement.RemoveChild(child);
}
}
Expand Down

0 comments on commit b814ada

Please sign in to comment.