Add format string for error wrap
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
IamTheFij 2021-02-05 10:34:49 -08:00
parent 62037b9dab
commit 1a1689cd88
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ func getConfigFilePath(filename string) (string, error) {
if configHome == "" {
usr, err := user.Current()
if err != nil {
return "", fmt.Errorf("error getting current user information", err)
return "", fmt.Errorf("error getting current user information: %w", err)
}
configHome = filepath.Join(usr.HomeDir, ".config")
}