Skip to content

Commit

Permalink
fix: use HOME config path when xdg-like path use fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnossiom committed Feb 1, 2024
1 parent 7b0fac2 commit 5a27192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Expand Up @@ -115,7 +115,7 @@ func configLocations() []string {
// It also takes cares of creating the parent folder so we don't need to bother later
configPath, err := xdg.ConfigFile("act/actrc")
if err != nil {
log.Fatal("Could not create config file")
configPath = configFileName
}

// This order should be enforced since the survey part relies on it
Expand Down

0 comments on commit 5a27192

Please sign in to comment.