Fix lint issue

This commit is contained in:
Tulir Asokan 2023-07-01 14:32:48 +03:00 committed by GitHub
parent 2a242c8f26
commit 253b47b076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ var RecoverPrettyPanic bool
var DeadlockDetection bool var DeadlockDetection bool
var WriteLogs bool var WriteLogs bool
var OnRecover func() var OnRecover func()
var LogDirectory = filepath.Join(os.TempDir(), "gomuks-" + getUname()) var LogDirectory = filepath.Join(os.TempDir(), "gomuks-"+getUname())
func getUname() string { func getUname() string {
currUser, err := user.Current() currUser, err := user.Current()