fix pr comment

This commit is contained in:
sam hoang
2025-01-27 21:28:58 +07:00
parent 17c0deaf6b
commit 0a19745c23

View File

@@ -43,7 +43,6 @@ import { CustomModesManager } from "../config/CustomModesManager"
import { CustomSupportPrompts, supportPrompt } from "../../shared/support-prompt" import { CustomSupportPrompts, supportPrompt } from "../../shared/support-prompt"
import { ACTION_NAMES } from "../CodeActionProvider" import { ACTION_NAMES } from "../CodeActionProvider"
import { error } from "console"
/* /*
https://github.com/microsoft/vscode-webview-ui-toolkit-samples/blob/main/default/weather-webview/src/providers/WeatherViewProvider.ts https://github.com/microsoft/vscode-webview-ui-toolkit-samples/blob/main/default/weather-webview/src/providers/WeatherViewProvider.ts
@@ -668,7 +667,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
this.cline.abortTask() this.cline.abortTask()
await pWaitFor(() => this.cline === undefined || this.cline.didFinishAborting, { await pWaitFor(() => this.cline === undefined || this.cline.didFinishAborting, {
timeout: 3_000, timeout: 3_000,
}).catch(() => { }).catch((error) => {
this.outputChannel.appendLine( this.outputChannel.appendLine(
`Failed to abort task ${JSON.stringify(error, Object.getOwnPropertyNames(error), 2)}`, `Failed to abort task ${JSON.stringify(error, Object.getOwnPropertyNames(error), 2)}`,
) )