We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1299578 commit aa55a50Copy full SHA for aa55a50
GitVersionExe/Program.cs
@@ -99,16 +99,12 @@ static void ConfigureLogging(Arguments arguments)
99
s => log.AppendLine(s)
100
};
101
102
- if (arguments.Output == OutputType.BuildServer)
+ if (arguments.Output == OutputType.BuildServer || arguments.LogFilePath == "console" || arguments.Init)
103
{
104
writeActions.Add(Console.WriteLine);
105
}
106
107
- if (arguments.LogFilePath == "console")
108
- {
109
- writeActions.Add(Console.WriteLine);
110
- }
111
- else if (arguments.LogFilePath != null)
+ if (arguments.LogFilePath != null && arguments.LogFilePath != "console")
112
113
try
114
0 commit comments