summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-05-01 13:19:05 +0200
committerxengineering <me@xengineering.eu>2024-05-01 13:19:05 +0200
commit4cc0677b79edeed05ead23def152ac45f35f556d (patch)
treef7be89d40f09cb2427f3f7607a03d46ed1bacc7d /main.go
parentf9117c3740a134ce544f5a70bcf5b5da06d976da (diff)
downloadceres-4cc0677b79edeed05ead23def152ac45f35f556d.tar
ceres-4cc0677b79edeed05ead23def152ac45f35f556d.tar.zst
ceres-4cc0677b79edeed05ead23def152ac45f35f556d.zip
Use default storage path instead of temp dir
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index 0c82a7c..2eb3342 100644
--- a/main.go
+++ b/main.go
@@ -29,10 +29,10 @@ func main() {
os.Exit(0)
}
- model.InitStorage(gitDescribe)
- defer model.RemoveStorage()
+ model.InitStorage(config.StorageFilePath, gitDescribe)
+ defer model.RemoveStorage(config.StorageFilePath)
- model.InitDatabase()
+ model.InitDatabase(config.StorageFilePath)
defer model.CloseDatabase()
model.InjectTestRecipes()