Fixes installer including some c# bits, fixes the hash bang to be back to normal

This commit is contained in:
Shannon
2018-06-15 15:51:37 +10:00
parent 56ba6c7a1d
commit 9d49ddba7c
9 changed files with 75 additions and 84 deletions

View File

@@ -59,7 +59,7 @@ namespace Umbraco.Core.Configuration
{
// fixme - this should live in its own independent file! NOT web.config!
var value = ConfigurationManager.AppSettings["umbracoConfigurationStatus"];
return SemVersion.TryParse(value, out var semver) ? semver : null;
return value.IsNullOrWhiteSpace() ? null : SemVersion.TryParse(value, out var semver) ? semver : null;
}
catch
{