Skip to content

Commit

Permalink
B!! It is better to use TEAMCITY_VERSION instead TEAMCITY_PROJECT_NAME (
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayPianikov committed Aug 12, 2022
1 parent 4e78992 commit fd73650
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ public void Report(string approved, string received)

public bool IsWorkingInThisEnvironment(string forFile)
{
return Environment.GetEnvironmentVariable("TEAMCITY_PROJECT_NAME") != null;
return Environment.GetEnvironmentVariable("TEAMCITY_VERSION") != null;
}
}

0 comments on commit fd73650

Please sign in to comment.