Add support for .tar.gz shorthand (.tgz) to TarballInputScheme

This commit is contained in:
Connor Baker 2021-12-03 22:16:02 -05:00
parent 2e606e87c4
commit 52f5fa948a

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")