Skip to content

Commit b41681c

Browse files
committed
Restore Go < 1.16 compatibility
1 parent 51a0a27 commit b41681c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/cmd/run/download/zip.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"archive/zip"
55
"fmt"
66
"io"
7-
"io/fs"
87
"os"
98
"path/filepath"
109
)
@@ -56,6 +55,6 @@ func extractZipFile(zf *zip.File, dest string) error {
5655
return err
5756
}
5857

59-
func isBinary(m fs.FileMode) bool {
58+
func isBinary(m os.FileMode) bool {
6059
return m&0111 != 0
6160
}

0 commit comments

Comments
 (0)