🎨 Plugin uninstall

This commit is contained in:
Liang Ding
2023-05-06 10:41:43 +08:00
parent 439c1e6f8a
commit 73b980af69

View File

@@ -87,6 +87,9 @@ func UninstallBazaarPlugin(pluginName string) error {
}
}
petals = tmp
if 1 > len(petals) {
petals = []*Petal{}
}
savePetals(petals)
return nil
}