cespare / reflex

Run a command when files change
MIT License
3.35k stars 135 forks source link

undefined: errors.Is on v0.3.1 #87

Closed dfredell closed 3 years ago

dfredell commented 3 years ago

Our build automation failed last night. This appears to be from the latest version v0.3.1.

We are doing a docker build based off of ubuntu:18.04 and 1.12.7 version of go.

Step 13/23 : RUN go get github.com/cespare/reflex
 ---> Running in fe1d24e9a93b
# github.com/cespare/reflex
../../github.com/cespare/reflex/reflex.go:295:28: undefined: errors.Is
The command '/bin/sh -c go get github.com/cespare/reflex' returned a non-zero code: 2

Workaround

setting back to v0.3.0 in our Dockerfile RUN GO111MODULE=on go get github.com/cespare/reflex@v0.3.0

dfredell commented 3 years ago

Duplicate of https://github.com/cespare/reflex/issues/85