Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
voyager-hang authored Sep 8, 2022
1 parent 005f481 commit 5753730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-chrome-build/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5753730

Please sign in to comment.