From 4cc0677b79edeed05ead23def152ac45f35f556d Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 1 May 2024 13:19:05 +0200 Subject: Use default storage path instead of temp dir --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.go') 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() -- cgit v1.2.3-70-g09d2