feat(config): safe to delete unusedApps directly
parent
c821b273aa
commit
1c7449b235
|
@ -111,9 +111,7 @@ func (c *Config) Clean() error {
|
||||||
|
|
||||||
// removed used apps
|
// removed used apps
|
||||||
for name := range c.Apps {
|
for name := range c.Apps {
|
||||||
if _, ok := unusedDirs[name]; ok {
|
delete(unusedDirs, name)
|
||||||
delete(unusedDirs, name)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for dir := range unusedDirs {
|
for dir := range unusedDirs {
|
||||||
|
|
Loading…
Reference in New Issue