Remove non set case

This commit is contained in:
Gary Holtz 2024-04-24 17:13:56 -05:00
parent 451f491e75
commit ed1c4ca75d
No known key found for this signature in database
GPG Key ID: 0C3B92677CFEE92F
1 changed files with 0 additions and 4 deletions

View File

@ -156,10 +156,6 @@ func GitUserName() ([]byte, error) {
return []byte{}, err
}
if string(output) == "" {
return []byte(os.Getenv("USER")), nil
}
return output, nil
}