remove redundant slashes (#18750)

Signed-off-by: wanggang11335 <wanggang11335@autohome.com.cn>

Signed-off-by: wanggang11335 <wanggang11335@autohome.com.cn>
Co-authored-by: wanggang11335 <wanggang11335@autohome.com.cn>
pull/18787/head
wgcn 2022-08-23 13:24:53 +08:00 committed by GitHub
parent c8bf2823c6
commit cd2622390c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ func (gp *BaseTable) initConfPath() string {
configDir = runPath + "/configs/"
if _, err := os.Stat(configDir); err != nil {
_, fpath, _, _ := runtime.Caller(0)
configDir = path.Dir(fpath) + "/../../../configs/"
configDir = path.Dir(fpath) + "/../../../configs"
}
}
return configDir