Browse Source

fix the bee path

pull/707/head
wangle 1 year ago
parent
commit
40a90af5be
  1. 5
      utils/utils.go

5
utils/utils.go

@ -512,7 +512,10 @@ func NoticeUpdateBee() {
}
func newVersion() {
workPath := GetBeeWorkPath()
hs, _, workPath := SearchGOPATHs(config.GitRemotePath)
if hs == false {
beeLogger.Log.Warn("Fail to open repository")
}
repo, err := git.OpenRepository(workPath)
if err != nil {
beeLogger.Log.Fatalf("Fail to open repository, err: %s", err)

Loading…
Cancel
Save