add comment to please codacy

pull/2148/head
vcptr 2019-12-31 14:23:01 +08:00
parent 78b95d4bc2
commit 8ccc142e7e
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ func GetConfigurationPath() string {
return filepath.Join(configPath, "config.json")
}
// GetConfDirPath reads "v2ray.location.confdir"
func GetConfDirPath() string {
const name = "v2ray.location.confdir"
configPath := NewEnvFlag(name).GetValue(func() string { return "" })