Skip to content

Commit 006c22d

Browse files
committed
Fixed test libraries downloader
1 parent 22a1e71 commit 006c22d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/helper_tools_downloader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ func downloadAndUnpack(url string) (*paths.Path, []os.FileInfo, error) {
676676

677677
func buildUnpackCmd(file *paths.Path) *exec.Cmd {
678678
var cmd *exec.Cmd
679-
if file.Ext() == "zip" {
679+
if file.Ext() == ".zip" {
680680
cmd = exec.Command("unzip", "-qq", file.Base())
681681
} else {
682682
cmd = exec.Command("tar", "xf", file.Base())

0 commit comments

Comments
 (0)