From 05f2c4661caafe7a16647f4d13fa92f9cfbb485d Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Mon, 6 Feb 2023 15:03:25 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/init/viper/viper.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/init/viper/viper.go b/backend/init/viper/viper.go index 0e52f81fe..79d8f85a4 100644 --- a/backend/init/viper/viper.go +++ b/backend/init/viper/viper.go @@ -14,8 +14,7 @@ import ( ) func Init() { - //stdout, err := cmd.Exec("grep '^BASE_DIR=' /usr/bin/1pctl | cut -d'=' -f2") - stdout, err := cmd.Exec("grep '^BASE_DIR=' /Users/wangzhengkun/Downloads/1pctl | cut -d'=' -f2") + stdout, err := cmd.Exec("grep '^BASE_DIR=' /usr/bin/1pctl | cut -d'=' -f2") if err != nil { panic(err) }