Fixes #2829
@ -112,7 +112,7 @@
},
{
"ImportPath": "github.com/rjeczalik/notify",
"Rev": "5dd6205716539662f8f14ab513552b41eab69d5d"
"Rev": "f627deca7a510d96f0ef9388f2d0e8b16d21f87f"
"ImportPath": "github.com/robertkrimen/otto",
@ -21,10 +21,9 @@ env:
- PATH=$HOME/bin:$PATH
install:
- go get golang.org/x/tools/cmd/vet
- go get -t -v ./...
script:
- go tool vet -all .
- "(go version | grep -q 1.4) || go tool vet -all ."
- go install $GOFLAGS ./...
- go test -v -race $GOFLAGS ./...
@ -11,7 +11,6 @@ environment:
- go version
- go get -v -t ./...
build_script:
@ -133,7 +133,7 @@ func (w *watch) Dispatch(ev []FSEvent) {
ev[i].Flags, ev[i].Path, i, ev[i].ID, len(ev))
if ev[i].Flags&failure != 0 {
// TODO(rjeczalik): missing error handling
panic("unhandled error: " + Event(ev[i].Flags).String())
continue
}
if !strings.HasPrefix(ev[i].Path, w.path) {