Skip to content

Commit 420b669

Browse files
committed
teamcity check to decide to throw or not was always false
(cherry picked from commit 6999924)
1 parent 0ac59b6 commit 420b669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/scripts/Testing.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module Tests =
2121
open System
2222

2323
let private buildingOnTravis = getEnvironmentVarAsBool "TRAVIS"
24-
let private buildingOnTeamCity = getEnvironmentVarAsBool "TEAMCITY_VERSION"
24+
let private buildingOnTeamCity = match environVarOrNone "TEAMCITY_VERSION" with | Some x -> true | None -> false
2525

2626
let private setLocalEnvVars() =
2727
let clusterFilter = getBuildParamOrDefault "clusterfilter" ""

0 commit comments

Comments
 (0)