gobuffalo / envy

Envy makes working with ENV variables in Go trivial.
MIT License
156 stars 21 forks source link

Fix relative path finding (gobuffalo/buffalo#982) #12

Closed egonelbre closed 6 years ago

egonelbre commented 6 years ago

strings.TrimPrefix can give the wrong result with case-insensitive paths. filepath.Rel usually works better.

markbates commented 6 years ago

Thank you!