Skip to content

Commit be4810c

Browse files
committed
fix syntax error
1 parent a25d30e commit be4810c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersion.Output/GitVersionInfo/GitVersionInfoGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void Execute(GitVersionVariables variables, GitVersionInfoContext context
6161
string getTargetNamespace(string extension) => extension switch
6262
{
6363
".vb" => context.TargetNamespace ?? "Global",
64-
".cs" => context.TargetNamespace != null ? $"{PathHelper.NewLine}namespace {context.TargetNamespace};" : "",
64+
".cs" => context.TargetNamespace != null ? $"{PathHelper.NewLine}namespace {context.TargetNamespace}" : "",
6565
".fs" => context.TargetNamespace ?? "global",
6666
_ => targetNamespaceSentinelValue,
6767
};

0 commit comments

Comments
 (0)