Skip to content

Commit 347abcd

Browse files
author
Jake Ginnivan
committed
Fixed failing tests
1 parent 78a67b6 commit 347abcd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

GitVersionExe/Program.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,12 @@ static void ConfigureLogging(Arguments arguments)
147147
{
148148
var writeActions = new List<Action<string>>();
149149

150-
if (arguments.LogFilePath == "console" || arguments.Output == OutputType.BuildServer)
150+
if (arguments.Output == OutputType.BuildServer)
151+
{
152+
writeActions.Add(Console.WriteLine);
153+
}
154+
155+
if (arguments.LogFilePath == "console")
151156
{
152157
writeActions.Add(Console.WriteLine);
153158
}

0 commit comments

Comments
 (0)