feat(config): safe to delete unusedApps directly

main
Tran Hau 2021-01-20 14:36:33 +07:00
parent c821b273aa
commit 1c7449b235
1 changed files with 1 additions and 3 deletions

View File

@ -111,9 +111,7 @@ func (c *Config) Clean() error {
// removed used apps
for name := range c.Apps {
if _, ok := unusedDirs[name]; ok {
delete(unusedDirs, name)
}
delete(unusedDirs, name)
}
for dir := range unusedDirs {