Skip to content

Commit 667bb01

Browse files
committed
Merge branch 'Yiabiten-issue197' into develop
2 parents 490d3d6 + a97710f commit 667bb01

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/CommandLine/Text/HeadingInfo.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,7 @@ public static HeadingInfo Default
5757
{
5858
var title = ReflectionHelper.GetAttribute<AssemblyTitleAttribute>()
5959
.MapValueOrDefault(
60-
titleAttribute =>
61-
{
62-
if (titleAttribute.Title.ToLowerInvariant().EndsWith(".dll"))
63-
{
64-
return titleAttribute.Title.Substring(0, titleAttribute.Title.Length - ".dll".Length);
65-
}
66-
return titleAttribute.Title;
67-
},
60+
titleAttribute => titleAttribute.Title,
6861
ReflectionHelper.GetAssemblyName());
6962

7063
var version = ReflectionHelper.GetAttribute<AssemblyInformationalVersionAttribute>()

0 commit comments

Comments
 (0)