Skip to content

Commit

Permalink
fix: correct jlv config read from the home directory (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
gurland authored Jan 25, 2024
1 parent 239e2ce commit 327c116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/jlv/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func readConfig() (*config.Config, error) {
}

homeDir, err := os.UserHomeDir()
if err != nil {
if err == nil {
paths = append(paths, path.Join(homeDir, configFileName))
}

Expand Down

0 comments on commit 327c116

Please sign in to comment.