Merge pull request #5725 from ConnorBaker/master

Add support for .tar.gz shorthand (.tgz) to TarballInputScheme
This commit is contained in:
Eelco Dolstra 2021-12-13 21:08:06 +01:00 committed by GitHub
commit ade870764a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,6 +176,7 @@ struct TarballInputScheme : InputScheme
if (!hasSuffix(url.path, ".zip")
&& !hasSuffix(url.path, ".tar")
&& !hasSuffix(url.path, ".tgz")
&& !hasSuffix(url.path, ".tar.gz")
&& !hasSuffix(url.path, ".tar.xz")
&& !hasSuffix(url.path, ".tar.bz2")