Skip to content

Commit

Permalink
fix: trying to mkdir over an incorrect data path (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr authored Feb 23, 2022
1 parent e1e2c7b commit 560a677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func getDataDir(portableMode bool) (string, error) {

// Try to use platform specific app path
userScope := apppaths.NewScope(apppaths.User, "shiori")
dataDir, err := userScope.DataPath("shiori.db")
dataDir, err := userScope.DataPath("")
if err == nil {
return dataDir, nil
}
Expand Down

0 comments on commit 560a677

Please sign in to comment.