diff --git a/pkg/source/git.go b/pkg/source/git.go index 51a6afe2..23bd0f73 100644 --- a/pkg/source/git.go +++ b/pkg/source/git.go @@ -300,6 +300,6 @@ func (d *billyDirFile) ReadDir(n int) ([]fs.DirEntry, error) { return entries[:n], err } -func (d billyDirFile) Read(data []byte) (int, error) { +func (d billyDirFile) Read(_ []byte) (int, error) { return 0, &fs.PathError{Op: "read", Path: d.path, Err: syscall.EISDIR} }