Skip to content

Commit

Permalink
fix a lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yqiangsap committed Jul 1, 2020
1 parent e054dc5 commit 16a1f67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/pkg/errors"
)

// ExeDirectory ...
func ExeDirectory() string {
exePath := os.Args[0]
r, err := filepath.Abs(filepath.Dir(exePath))
Expand Down

0 comments on commit 16a1f67

Please sign in to comment.