summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index 937fa8e..da06f8e 100644
--- a/main.go
+++ b/main.go
@@ -31,6 +31,9 @@ func main() {
}
storage := model.Storage{Path: config.StorageFilePath}
+ if !storage.Exists() {
+ storage.Create()
+ }
storage.Init(gitDescribe)
model.InitDatabase(config.StorageFilePath)