Skip to content

Commit

Permalink
fix: delete data.toml when clean
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed Sep 4, 2024
1 parent 955f5e2 commit 0a28aad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 0a28aad

Please sign in to comment.