Closed fazalmajid closed 5 years ago
Agreed. @mclark4386 can you please revert that change and release a new version?
Thanks. Is there any reason why Hugo should not switch from markbates/inflect to gobuffalo/flect?
I guess this would be a reason, flect behaves differently from inflect:
https://travis-ci.org/gohugoio/hugo/jobs/583939617
ecthelion ~/hugo/fts5index>cat envy.go;go run envy.go
package main
import (
"fmt"
"github.com/gobuffalo/flect"
"github.com/markbates/inflect"
)
func main() {
fmt.Println(inflect.Humanize("MyCamel"))
fmt.Println(flect.Humanize("MyCamel"))
}
My camel
My Camel
Why is this module I had never heard about spewing on the output of Hugo, among others?
README.md claims "By default, no env files will be loaded." but envy.go is clearly trying to do so in
init()
, and what's worse, outputting an unsolicited error message on stderr.Here is a minimal reproduction case: