in src/commands/deleteAction.ts [22:36]
export async function deleteAction(action: WskAction): Promise<void> {
const confirmed = await showConfirmMessage(
`Are you sure you want to delete '${action.getFullName()}' action?`
);
if (confirmed) {
await action.client.actions
.delete(action.getFullName())
.then((target) => {
vscode.window.showInformationMessage(
`Action ${target.name} is deleted successfully.`
);
})
.catch(() => vscode.window.showErrorMessage(`Failed to delete ${action.label}`));
}
}