Commit 8ba707fa authored by Eric's avatar Eric Committed by Eric_Lee

[update] clean code

parent 387f824c
......@@ -460,7 +460,6 @@ func (su *SysUserDir) Sys() interface{} {
func (su *SysUserDir) ParsePath(path string) string {
var realPath string
fmt.Println("root path", su.rootPath)
switch strings.ToLower(su.rootPath) {
case "home", "~", "":
realPath = strings.ReplaceAll(path, su.prefix, su.homeDirpath)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment