Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
FriggaHel committed Mar 25, 2024
1 parent ca2c9a1 commit c044f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions visual-dotnet/SauceLabs.Visual/VisualClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ public static async Task<VisualClient> Create(WebDriver wd, Region region, strin
public static async Task<VisualClient> Create(WebDriver wd, Region region, string username, string accessKey, CreateBuildOptions buildOptions)
{
var client = new VisualClient(wd, region, username, accessKey);
await client.SetupBuild(region, username, accessKey, buildOptions);
await client.SetupBuild(buildOptions);
return client;
}

private async Task SetupBuild(Region region, string username, string accessKey, CreateBuildOptions buildOptions)
private async Task SetupBuild(CreateBuildOptions buildOptions)
{
var response = await _api.WebDriverSessionInfo(_jobId, _sessionId);
var metadata = response.EnsureValidResponse();
Expand Down

0 comments on commit c044f54

Please sign in to comment.