Fix missing fs.Dir -> fs.Directory
This commit is contained in:
+5
-4
@@ -232,10 +232,11 @@ func (t *test) cleanFs() error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return entries.ForDirError(func(dir *fs.Dir) error {
|
return entries.ForDirError(func(dir fs.Directory) error {
|
||||||
if fstest.MatchTestRemote.MatchString(dir.Name) {
|
remote := dir.Remote()
|
||||||
log.Printf("Purging %s%s", t.remote, dir.Name)
|
if fstest.MatchTestRemote.MatchString(remote) {
|
||||||
dir, err := fs.NewFs(t.remote + dir.Name)
|
log.Printf("Purging %s%s", t.remote, remote)
|
||||||
|
dir, err := fs.NewFs(t.remote + remote)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user