From 5753730c9d521b3c6b5565b2fe9f29a26404cbde Mon Sep 17 00:00:00 2001 From: Yuan Hang <32063394+voyager-hang@users.noreply.github.com> Date: Thu, 8 Sep 2022 10:20:46 +0800 Subject: [PATCH] Update main.go --- go-chrome-build/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-chrome-build/main.go b/go-chrome-build/main.go index 7f56d86..c09db32 100644 --- a/go-chrome-build/main.go +++ b/go-chrome-build/main.go @@ -20,7 +20,7 @@ var ( // init 初始化 func init() { flags := true - runPath := go_chrome_build.GetCurrentPath() + runPath := go_chrome_build.GetWorkingDirPath() if !go_chrome_build.IsExist(runPath + "/package.json") { go_chrome_build.EchoError("当前目录下未找到:package.json 文件") flags = false