Skip to content

Commit

Permalink
Fixed share file container listing when directory is listed on downlo…
Browse files Browse the repository at this point in the history
…ad (#39805)
  • Loading branch information
amnguye authored Nov 7, 2023
1 parent 67702ba commit 2619c31
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ private async IAsyncEnumerable<JobPartInternal> GetStorageResourcesAsync()
}

StorageResource current = enumerator.Current;
if (!existingSources.Contains(current.Uri))
if (!current.IsContainer &&
!existingSources.Contains(current.Uri))
{
string containerUriPath = _sourceResourceContainer.Uri.GetPath();
string sourceName = string.IsNullOrEmpty(containerUriPath)
Expand Down

0 comments on commit 2619c31

Please sign in to comment.