Restore Go < 1.16 compatibility

This commit is contained in:
Mislav Marohnić 2021-04-02 20:54:56 +02:00
parent 51a0a27a6f
commit b41681cbb7

View file

@ -4,7 +4,6 @@ import (
"archive/zip"
"fmt"
"io"
"io/fs"
"os"
"path/filepath"
)
@ -56,6 +55,6 @@ func extractZipFile(zf *zip.File, dest string) error {
return err
}
func isBinary(m fs.FileMode) bool {
func isBinary(m os.FileMode) bool {
return m&0111 != 0
}