aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/debug.ts
diff options
context:
space:
mode:
authorSahandevs <[email protected]>2021-02-09 14:12:46 +0000
committerSahandevs <[email protected]>2021-02-09 14:12:46 +0000
commit91dd61b9a662caf628a376d1e3b52b56b7ee8d31 (patch)
tree22d5ec3c2abd8058ce97ca9102075427cea02e4a /editors/code/src/debug.ts
parent2f82a84d2a06e24296bdbc4e8f50131539d5a749 (diff)
use await instead
Diffstat (limited to 'editors/code/src/debug.ts')
-rw-r--r--editors/code/src/debug.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts
index c72a7b278..3889a2773 100644
--- a/editors/code/src/debug.ts
+++ b/editors/code/src/debug.ts
@@ -77,9 +77,8 @@ async function getDebugConfiguration(ctx: Ctx, runnable: ra.Runnable): Promise<v
77 } 77 }
78 78
79 if (!debugEngine) { 79 if (!debugEngine) {
80 vscode.window.showErrorMessage(`Install [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)` 80 await vscode.window.showErrorMessage(`Install [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)`
81 + ` or [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) extension for debugging.`) 81 + ` or [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) extension for debugging.`);
82 .then(() => { }, console.error);
83 return; 82 return;
84 } 83 }
85 84