From f7823f31069c6ec5be24d0497847bf1bb8a4c683 Mon Sep 17 00:00:00 2001 From: Tetsuharu Ohzeki Date: Tue, 11 Jul 2023 22:35:10 +0900 Subject: editor/code: Re-apply code format --- editors/code/src/debug.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'editors/code/src/debug.ts') diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts index 484f547230f..f3d6238d51b 100644 --- a/editors/code/src/debug.ts +++ b/editors/code/src/debug.ts @@ -13,7 +13,7 @@ type DebugConfigProvider = ( config: ra.Runnable, executable: string, env: Record, - sourceFileMap?: Record + sourceFileMap?: Record, ) => vscode.DebugConfiguration; export async function makeDebugConfig(ctx: Ctx, runnable: ra.Runnable): Promise { @@ -31,7 +31,7 @@ export async function makeDebugConfig(ctx: Ctx, runnable: ra.Runnable): Promise< const answer = await vscode.window.showErrorMessage( `Launch configuration '${debugConfig.name}' already exists!`, "Cancel", - "Update" + "Update", ); if (answer === "Cancel") return; @@ -68,7 +68,7 @@ export async function startDebugSession(ctx: Ctx, runnable: ra.Runnable): Promis async function getDebugConfiguration( ctx: Ctx, - runnable: ra.Runnable + runnable: ra.Runnable, ): Promise { const editor = ctx.activeRustEditor; if (!editor) return; @@ -92,7 +92,7 @@ async function getDebugConfiguration( if (!debugEngine) { await vscode.window.showErrorMessage( `Install [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)` + - ` or [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) extension for debugging.` + ` or [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) extension for debugging.`, ); return; } @@ -157,7 +157,7 @@ async function getDebugConfiguration( async function getDebugExecutable( runnable: ra.Runnable, - env: Record + env: Record, ): Promise { const cargo = new Cargo(runnable.args.workspaceRoot || ".", debugOutput, env); const executable = await cargo.executableFromArgs(runnable.args.cargoArgs); @@ -170,7 +170,7 @@ function getLldbDebugConfig( runnable: ra.Runnable, executable: string, env: Record, - sourceFileMap?: Record + sourceFileMap?: Record, ): vscode.DebugConfiguration { return { type: "lldb", @@ -189,7 +189,7 @@ function getCppvsDebugConfig( runnable: ra.Runnable, executable: string, env: Record, - sourceFileMap?: Record + sourceFileMap?: Record, ): vscode.DebugConfiguration { return { type: os.platform() === "win32" ? "cppvsdbg" : "cppdbg", -- cgit 1.4.1-3-g733a5