🎨 Plugin uninstall
This commit is contained in:
parent
439c1e6f8a
commit
73b980af69
1 changed files with 3 additions and 0 deletions
|
@ -87,6 +87,9 @@ func UninstallBazaarPlugin(pluginName string) error {
|
|||
}
|
||||
}
|
||||
petals = tmp
|
||||
if 1 > len(petals) {
|
||||
petals = []*Petal{}
|
||||
}
|
||||
savePetals(petals)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue