Skip to content

Commit

Permalink
Hide cancellation button
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoulSchaffranek committed Nov 11, 2024
1 parent b7dc083 commit bdba146
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/startDebugging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@ export async function startDebugging(
) {
return await vscode.window.withProgress({
location: vscode.ProgressLocation.Notification,
title: "Simbolik",
cancellable: true
}, async (progress, token) => {
token.onCancellationRequested(() => {
throw new Error('Debugging session aborted on user request.');
});

title: "Simbolik"
}, async (progress) => {
const activeTextEditor = vscode.window.activeTextEditor;
if (!activeTextEditor) {
throw new Error('No active text editor.');
Expand Down

0 comments on commit bdba146

Please sign in to comment.