mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 09:55:36 +00:00
fix
This commit is contained in:
2
main.go
2
main.go
@@ -18,7 +18,7 @@ func main() {
|
||||
storagePath := filepath.Join(configPath, "yarr")
|
||||
storageFile := filepath.Join(storagePath, "storage.db")
|
||||
|
||||
if err := os.MkdirAll(storageDir, 0755); err != nil {
|
||||
if err := os.MkdirAll(storagePath, 0755); err != nil {
|
||||
logger.Fatal("Failed to create app config dir: ", err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user