fix
This commit is contained in:
parent
d29952008e
commit
60f1df388f
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue