There was an error while loading. Please reload this page.
1 parent 16bc0dc commit 7cbed57Copy full SHA for 7cbed57
Build/Nuke/Build.cs
@@ -81,9 +81,9 @@ partial class Build : Nuke.Common.NukeBuild
81
if (AzurePipelines == null && GitHubActions == null)
82
return;
83
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"))
+ using (var client = new HttpClient())
86
{
+ using var s = client.GetStreamAsync(@"https://dot.net/v1/dotnet-install.ps1");
87
using var fs = new FileStream(ps1File, FileMode.CreateNew);
88
s.Result.CopyTo(fs);
89
}
0 commit comments