Updates test, fixes some other issues during testing

This commit is contained in:
Shannon
2019-01-15 23:46:58 +11:00
parent 56ab88983a
commit f6fdc9ae2d
5 changed files with 16 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ namespace Umbraco.Core.Packaging
return stylesheetNodes
.Select(n =>
{
var xElement = n.Element("Name");
var xElement = n.Element("Name") ?? n.Element("name"); ;
if (xElement == null)
throw new FormatException("Missing \"Name\" element");