mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(archival): ♻ ren local
This commit is contained in:
parent
1db55ca16d
commit
dc059bdc37
1 changed files with 3 additions and 3 deletions
|
|
@ -94,10 +94,10 @@ private async IAsyncEnumerable<ListArchiveSegment> GetSegmentsAsync(
|
|||
{
|
||||
foreach (var segment in segmentUrls)
|
||||
{
|
||||
var contentAsync = await _client.GetContentAsync(segment.Url, cancellationToken);
|
||||
if (contentAsync != Stream.Null)
|
||||
var content = await _client.GetContentAsync(segment.Url, cancellationToken);
|
||||
if (content != Stream.Null)
|
||||
{
|
||||
yield return new ListArchiveSegment(segment.Url, contentAsync);
|
||||
yield return new ListArchiveSegment(segment.Url, content);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue