Merge pull request #2889 from fjl/godeps-update-notify

Godeps: update github.com/rjeczalik/notify to f627deca7a51
This commit is contained in:
Felix Lange 2016-08-05 19:29:59 +02:00 committed by GitHub
commit d445a9aafb
4 changed files with 3 additions and 5 deletions

2
Godeps/Godeps.json generated

@ -112,7 +112,7 @@
}, },
{ {
"ImportPath": "github.com/rjeczalik/notify", "ImportPath": "github.com/rjeczalik/notify",
"Rev": "5dd6205716539662f8f14ab513552b41eab69d5d" "Rev": "f627deca7a510d96f0ef9388f2d0e8b16d21f87f"
}, },
{ {
"ImportPath": "github.com/robertkrimen/otto", "ImportPath": "github.com/robertkrimen/otto",

@ -21,10 +21,9 @@ env:
- PATH=$HOME/bin:$PATH - PATH=$HOME/bin:$PATH
install: install:
- go get golang.org/x/tools/cmd/vet
- go get -t -v ./... - go get -t -v ./...
script: script:
- go tool vet -all . - "(go version | grep -q 1.4) || go tool vet -all ."
- go install $GOFLAGS ./... - go install $GOFLAGS ./...
- go test -v -race $GOFLAGS ./... - go test -v -race $GOFLAGS ./...

@ -11,7 +11,6 @@ environment:
install: install:
- go version - go version
- go get golang.org/x/tools/cmd/vet
- go get -v -t ./... - go get -v -t ./...
build_script: build_script:

@ -133,7 +133,7 @@ func (w *watch) Dispatch(ev []FSEvent) {
ev[i].Flags, ev[i].Path, i, ev[i].ID, len(ev)) ev[i].Flags, ev[i].Path, i, ev[i].ID, len(ev))
if ev[i].Flags&failure != 0 { if ev[i].Flags&failure != 0 {
// TODO(rjeczalik): missing error handling // TODO(rjeczalik): missing error handling
panic("unhandled error: " + Event(ev[i].Flags).String()) continue
} }
if !strings.HasPrefix(ev[i].Path, w.path) { if !strings.HasPrefix(ev[i].Path, w.path) {
continue continue