vendor: update rjeczalik/notify so that it compiles on go1.11 (#17467)

This commit is contained in:
Jeremy Schlatter
2018-08-21 06:13:03 -07:00
committed by Péter Szilágyi
parent 355fc47d39
commit 86acdf1a5b
12 changed files with 143 additions and 82 deletions

View File

@ -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