From 0a28aad68fc8d7ba7f2719d18e14d73913015eb2 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Wed, 4 Sep 2024 10:12:59 +0700 Subject: [PATCH] fix: delete data.toml when clean --- internal/config/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/config/config.go b/internal/config/config.go index 9d1bf4f..34652ec 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -275,7 +275,8 @@ func getUnusedDirs(apps map[string]App) (map[string]struct{}, error) { unusedDirs := make(map[string]struct{}) for _, file := range files { // Ignore config file - if file.Name() == configFileJSON { + if file.Name() == configFileJSON || + file.Name() == configFileTOML { continue }