Skip to content

Commit

Permalink
Update DocumentSettings to use correct default for headerDecoration.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp authored May 21, 2024
1 parent 7071bb0 commit 9827fb3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ protected internal DocumentationSettings()
{
this.companyName = DefaultCompanyName;
this.copyrightText = DefaultCopyrightText;
this.headerDecoration = null;
this.headerDecoration = string.Empty;
this.variables = ImmutableDictionary<string, string>.Empty;
this.xmlHeader = true;

Expand Down Expand Up @@ -267,7 +267,7 @@ protected internal DocumentationSettings(JsonObject documentationSettingsObject,
this.documentPrivateFields = documentPrivateFields.GetValueOrDefault(false);
this.companyName = companyName ?? DefaultCompanyName;
this.copyrightText = copyrightText ?? DefaultCopyrightText;
this.headerDecoration = headerDecoration;
this.headerDecoration = headerDecoration ?? string.Empty;
this.variables = variables?.ToImmutable() ?? ImmutableDictionary<string, string>.Empty;
this.xmlHeader = xmlHeader.GetValueOrDefault(true);
this.fileNamingConvention = fileNamingConvention.GetValueOrDefault(FileNamingConvention.StyleCop);
Expand Down

0 comments on commit 9827fb3

Please # to comment.