mirror of
https://gitee.com/gitea/gitea
synced 2025-11-15 05:50:25 +08:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user