From 20322af5df0bffcaa8b13d7abd1f4181dc3f98d8 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Tue, 7 Jan 2025 09:28:45 -0500 Subject: [PATCH] Delete confirmation tweak --- src/core/webview/ClineProvider.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 94b8ea5..2e64379 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -863,13 +863,12 @@ export class ClineProvider implements vscode.WebviewViewProvider { if (message.text) { const answer = await vscode.window.showInformationMessage( - "What would you like to delete this api config?", + "Are you sure you want to delete this configuration profile?", { modal: true }, "Yes", - "No", ) - if (answer === "No" || answer === undefined) { + if (answer !== "Yes") { break }