Skip to content

Commit

Permalink
Update src/Appium.Net/Appium/Service/AppiumCommandExecutor.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Dor Blayzer <[email protected]>
  • Loading branch information
kelmelzer and Dor-bl authored Jul 23, 2024
1 parent 2cff2d8 commit 2ebf64b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Appium.Net/Appium/Service/AppiumCommandExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ internal AppiumCommandExecutor(AppiumLocalService service, TimeSpan timeForTheSe
ClientConfig = clientConfig;
}

public Response Execute(Command commandToExecute) => Task.Run(() => ExecuteAsync(commandToExecute)).GetAwaiter().GetResult();
public Response Execute(Command commandToExecute)
{
return Task.Run(() => ExecuteAsync(commandToExecute)).GetAwaiter().GetResult();
}

public async Task<Response> ExecuteAsync(Command commandToExecute)
{
Expand Down

0 comments on commit 2ebf64b

Please sign in to comment.