Skip to content

Commit

Permalink
Merge branch 'micsco-patch-1' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
agc93 committed Jun 24, 2018
2 parents 6a39d56 + 82078f7 commit 5a19094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cake.TeamCity.Module/TeamCityLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public TeamCityLog(IConsole console, Verbosity verbosity = Verbosity.Normal)

public void Write(Verbosity verbosity, LogLevel level, string format, params object[] args)
{
if (!string.IsNullOrWhiteSpace(System.Environment.GetEnvironmentVariable("TF_BUILD")))
if (!string.IsNullOrWhiteSpace(System.Environment.GetEnvironmentVariable("TEAMCITY_VERSION")))
{
switch (level)
{
Expand Down Expand Up @@ -56,4 +56,4 @@ private string Escape(string text)
.Replace("]", "|]");
}
}
}
}

0 comments on commit 5a19094

Please sign in to comment.