Skip to content

Commit

Permalink
Fix GZipArchive getting Type set to ArchiveType.Tar
Browse files Browse the repository at this point in the history
  • Loading branch information
Morilli committed Jun 4, 2024
1 parent 525b309 commit 49f5cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SharpCompress/Archives/GZip/GZipArchive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static GZipArchive Open(Stream stream, ReaderOptions? readerOptions = nul
/// </summary>
/// <param name="sourceStream"></param>
private GZipArchive(SourceStream sourceStream)
: base(ArchiveType.Tar, sourceStream) { }
: base(ArchiveType.GZip, sourceStream) { }

protected override IEnumerable<GZipVolume> LoadVolumes(SourceStream sourceStream)
{
Expand Down

0 comments on commit 49f5cea

Please sign in to comment.