mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2026-04-03 01:50:09 +02:00
📝 TODO items as warnings
This commit is contained in:
@@ -52,6 +52,8 @@ class RemovePhpExtensionCommand: BrewCommand {
|
|||||||
|
|
||||||
await MainMenu.shared.refreshActiveInstallation()
|
await MainMenu.shared.refreshActiveInstallation()
|
||||||
|
|
||||||
|
#warning("Remaining config files should be cleaned up")
|
||||||
|
|
||||||
onProgress(.create(value: 1, title: getCommandTitle(), description: "phpman.steps.success".localized))
|
onProgress(.create(value: 1, title: getCommandTitle(), description: "phpman.steps.success".localized))
|
||||||
} else {
|
} else {
|
||||||
throw BrewCommandError(error: "phpman.steps.failure".localized, log: loggedMessages)
|
throw BrewCommandError(error: "phpman.steps.failure".localized, log: loggedMessages)
|
||||||
|
|||||||
@@ -99,6 +99,7 @@ struct PhpExtensionManagerView: View {
|
|||||||
HStack {
|
HStack {
|
||||||
if bExtension.isInstalled {
|
if bExtension.isInstalled {
|
||||||
Button("phpman.buttons.uninstall".localizedForSwiftUI, role: .destructive) {
|
Button("phpman.buttons.uninstall".localizedForSwiftUI, role: .destructive) {
|
||||||
|
#warning("Removal should ask for confirmation")
|
||||||
Task { await self.runCommand(
|
Task { await self.runCommand(
|
||||||
RemovePhpExtensionCommand(remove: bExtension)
|
RemovePhpExtensionCommand(remove: bExtension)
|
||||||
) }
|
) }
|
||||||
|
|||||||
Reference in New Issue
Block a user