Skip to content

Commit

Permalink
Merge PR: loic-sharma#728
Browse files Browse the repository at this point in the history
  • Loading branch information
VAllens committed Aug 31, 2023
1 parent 51f5761 commit 4d17a0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public async static Task<Stream> GetReadmeAsync(this PackageArchiveReader packag
throw new InvalidOperationException("Package does not have a readme!");
}

return await package.GetStreamAsync(readmePath, cancellationToken);
return await package.GetStreamAsync(PathUtility.StripLeadingDirectorySeparators(readmePath), cancellationToken);
}

public async static Task<Stream> GetIconAsync(this PackageArchiveReader package, CancellationToken cancellationToken)
Expand Down

0 comments on commit 4d17a0f

Please sign in to comment.