Skip to content

Commit 80fc2ae

Browse files
authored
[C#] fix logic so the default region can be accessible (#241)
1 parent 95df5d2 commit 80fc2ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visual-dotnet/SauceLabs.Visual/Region.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public override string ToString()
3737
/// <exception cref="VisualClientException"></exception>
3838
public static Region FromEnvironment()
3939
{
40-
return string.IsNullOrEmpty(EnvVars.Region) ? FromName(EnvVars.Region) : UsWest1;
40+
return string.IsNullOrEmpty(EnvVars.Region) ? UsWest1 : FromName(EnvVars.Region);
4141
}
4242

4343
/// <summary>

0 commit comments

Comments
 (0)