Ver Fonte

appenv: 去除兼容

Yi há 1 ano atrás
pai
commit
47a96acf2d
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      conf/setting/setting.go

+ 1 - 1
conf/setting/setting.go

@@ -110,7 +110,7 @@ func Setup() {
 	} else {
 		CurrentPath = workDir
 	}
-	CurrentPath = "./"
+
 	appEnv = strings.ToLower(os.Getenv("APP_ENVIRONMENT"))
 	switch appEnv {
 	case "test":