We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c6dfee commit e5a07d0Copy full SHA for e5a07d0
Tools/Schema.NET.Updater/Program.cs
@@ -16,7 +16,7 @@ internal class Program
16
private static async Task Main()
17
{
18
Console.WriteLine("Downloading '{0}'...", SchemaJsonSourceUrl);
19
- var httpClient = new HttpClient();
+ using var httpClient = new HttpClient();
20
using var stream = await httpClient.GetStreamAsync(SchemaJsonSourceUrl).ConfigureAwait(true);
21
Console.WriteLine("Saving to '{0}'...", SchemaJsonDestinationFilePath);
22
using var fileStream = File.Open(SchemaJsonDestinationFilePath, FileMode.Create);
0 commit comments