From 8ebc0adfd1f73c9d28c2f2907c916b95e3351c75 Mon Sep 17 00:00:00 2001 From: qiantao Date: Sun, 24 May 2020 13:11:10 +0800 Subject: [PATCH] fix merge --- utils/utils.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/utils/utils.go b/utils/utils.go index 23017df..6aa2034 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -41,14 +41,6 @@ func GetBeeWorkPath() string { return beePath } -func GetBeeWorkPath() string { - beePath, err := filepath.Abs(filepath.Dir(os.Args[0])) - if err != nil { - panic(err) - } - return beePath -} - // Go is a basic promise implementation: it wraps calls a function in a goroutine // and returns a channel which will later return the function's return value. func Go(f func() error) chan error {