Skip to content

Commit 7b1c7a3

Browse files
authored
Merge pull request #63 from dotnet-campus/t/bot/fix-codeformatting
[Bot] Automated PR to fix formatting errors
2 parents 6191b33 + 9376f98 commit 7b1c7a3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/FileDownloader.Tests/BreakpointResumptionTransmissionManagerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void GetDownloadSegmentList()
8585

8686
void FillErrorBuffer(DebugRange range)
8787
{
88-
Random.Shared.NextBytes(buffer.AsSpan(range.Start,range.Length));
88+
Random.Shared.NextBytes(buffer.AsSpan(range.Start, range.Length));
8989
}
9090
});
9191

src/dotnetCampus.FileDownloader.Tool/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static async Task Main(string[] args)
4444

4545
var progress = new Progress<DownloadProgress>();
4646

47-
await FileDownloaderHelper.DownloadFileToFolderAsync(url, downloadFolder, progress:progress);
47+
await FileDownloaderHelper.DownloadFileToFolderAsync(url, downloadFolder, progress: progress);
4848
#endif
4949
await Task.Delay(100);
5050
});
@@ -87,7 +87,7 @@ private static async Task DownloadFileAsync(DownloadOption option)
8787

8888
var file = new FileInfo(output);
8989
var url = option.Url;
90-
using var segmentFileDownloader = new SegmentFileDownloaderByHttpClient(url, file, httpClient:null, logger, progress);
90+
using var segmentFileDownloader = new SegmentFileDownloaderByHttpClient(url, file, httpClient: null, logger, progress);
9191

9292
await segmentFileDownloader.DownloadFileAsync();
9393

0 commit comments

Comments
 (0)