1
0
Fork 0
forked from forgejo/forgejo

upgrade gopkg.in/ini.v1 (#8500)

ini released v1.48.0 and deprecated the ini.AllCapsUnderscore symbol, as
such, during the upgrade we migrated to using ini.SnackCase.
This commit is contained in:
Colin Arnott 2019-10-15 15:45:39 +00:00 committed by zeripath
parent 9b9b67cd31
commit 80655026d2
12 changed files with 195 additions and 99 deletions

View file

@ -519,7 +519,7 @@ func NewContext() {
} else {
log.Warn("Custom config '%s' not found, ignore this if you're running first time", CustomConf)
}
Cfg.NameMapper = ini.AllCapsUnderscore
Cfg.NameMapper = ini.SnackCase
homeDir, err := com.HomeDir()
if err != nil {