markbates / safe

MIT License
1 stars 2 forks source link

v1.1.0 appears to be a breaking change #2

Open bwebster opened 8 months ago

bwebster commented 8 months ago

We are seeing CI failures in some private repositories that pull in this repo as a transitive dependency (due to it being used in github.com/gobuffalo/packr). The issue appears to be that the safe.Run now requires a func() error instead of just func(). You can see how it's being called here - https://github.com/gobuffalo/packr/blob/master/packr.go#L14.

kevin-rd commented 3 weeks ago

I also encountered the same problem.