mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
fix
This commit is contained in:
parent
d29952008e
commit
60f1df388f
2
main.go
2
main.go
@ -18,7 +18,7 @@ func main() {
|
|||||||
storagePath := filepath.Join(configPath, "yarr")
|
storagePath := filepath.Join(configPath, "yarr")
|
||||||
storageFile := filepath.Join(storagePath, "storage.db")
|
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)
|
logger.Fatal("Failed to create app config dir: ", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user