vendor: update github.com/rjeczalik/notify for go1.10 (#15785)
This commit is contained in:
committed by
Felix Lange
parent
3e0113fff4
commit
d2533d0efb
7
vendor/github.com/rjeczalik/notify/node.go
generated
vendored
7
vendor/github.com/rjeczalik/notify/node.go
generated
vendored
@ -6,7 +6,6 @@ package notify
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@ -71,7 +70,11 @@ Traverse:
|
||||
case errSkip:
|
||||
continue Traverse
|
||||
default:
|
||||
return fmt.Errorf("error while traversing %q: %v", nd.Name, err)
|
||||
return &os.PathError{
|
||||
Op: "error while traversing",
|
||||
Path: nd.Name,
|
||||
Err: err,
|
||||
}
|
||||
}
|
||||
// TODO(rjeczalik): tolerate open failures - add failed names to
|
||||
// AddDirError and notify users which names are not added to the tree.
|
||||
|
Reference in New Issue
Block a user