Skip to content

Commit 27d2d01

Browse files
committed
use await style from PR feedback
1 parent 51eb7fa commit 27d2d01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/test/common/Environment/TestWebServer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ public async Task StopAsync()
181181
{
182182
using (var httpClient = new HttpClient())
183183
{
184-
var quitTask = httpClient.GetAsync(EnvironmentManager.Instance.UrlBuilder.LocalWhereIs("quitquitquit"));
185-
await ((Task)quitTask).ConfigureAwait(ConfigureAwaitOptions.SuppressThrowing);
184+
await ((Task)httpClient.GetAsync(EnvironmentManager.Instance.UrlBuilder.LocalWhereIs("quitquitquit")))
185+
.ConfigureAwait(ConfigureAwaitOptions.SuppressThrowing);
186186
}
187187

188188
try

0 commit comments

Comments
 (0)