From 390642f9bbc12f0b435f343fc35f4a47c5ec7680 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 1 May 2024 13:20:22 +0200 Subject: Do not remove storage folder This is not useful in production. Furthermore in the debug use case the default storage path is now ./storage which can easily be removed by `rm -rf storage`. This also allows to not remove the storage folder for further analysis of the storage folder. --- main.go | 1 - 1 file changed, 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 2eb3342..d43edd2 100644 --- a/main.go +++ b/main.go @@ -30,7 +30,6 @@ func main() { } model.InitStorage(config.StorageFilePath, gitDescribe) - defer model.RemoveStorage(config.StorageFilePath) model.InitDatabase(config.StorageFilePath) defer model.CloseDatabase() -- cgit v1.2.3-70-g09d2