Skip to content

Commit 7cbed57

Browse files
committed
[Infra] Fix task running.
1 parent 16bc0dc commit 7cbed57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Build/Nuke/Build.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ partial class Build : Nuke.Common.NukeBuild
8181
if (AzurePipelines == null && GitHubActions == null)
8282
return;
8383
var ps1File = ResultDirectory / "donet-install.ps1";
84-
using var client = new HttpClient();
85-
using (var s = client.GetStreamAsync(@"https://dot.net/v1/dotnet-install.ps1"))
84+
using (var client = new HttpClient())
8685
{
86+
using var s = client.GetStreamAsync(@"https://dot.net/v1/dotnet-install.ps1");
8787
using var fs = new FileStream(ps1File, FileMode.CreateNew);
8888
s.Result.CopyTo(fs);
8989
}

0 commit comments

Comments
 (0)