vendor: update rjeczalik/notify so that it compiles on go1.11 (#17467)
This commit is contained in:
committed by
Péter Szilágyi
parent
355fc47d39
commit
86acdf1a5b
3
vendor/github.com/rjeczalik/notify/watcher_trigger.go
generated
vendored
3
vendor/github.com/rjeczalik/notify/watcher_trigger.go
generated
vendored
@ -106,7 +106,8 @@ func newWatcher(c chan<- EventInfo) watcher {
|
||||
}
|
||||
t.t = newTrigger(t.pthLkp)
|
||||
if err := t.t.Init(); err != nil {
|
||||
panic(err)
|
||||
t.Close()
|
||||
return watcherStub{fmt.Errorf("failed setting up watcher: %v", err)}
|
||||
}
|
||||
go t.monitor()
|
||||
return t
|
||||
|
Reference in New Issue
Block a user