about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorvsrs <vit@conrlab.com>2020-05-14 17:32:24 +0300
committervsrs <vit@conrlab.com>2020-05-14 17:33:49 +0300
commitabef76bc87137203081faedd3c758796e8d6598d (patch)
treeabc78b884f1507d2fe2069069cf0a3fab49dc743 /editors/code/src
parent51d5a08255482d6cf7dfcb9e3c6bb1a0aec6379d (diff)
downloadrust-abef76bc87137203081faedd3c758796e8d6598d.tar.gz
rust-abef76bc87137203081faedd3c758796e8d6598d.zip
Fix runnable naming in the client side fallback.
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/debug.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts
index 1f93a2b7ec4..d3fe588e831 100644
--- a/editors/code/src/debug.ts
+++ b/editors/code/src/debug.ts
@@ -90,7 +90,7 @@ export async function getDebugConfiguration(ctx: Ctx, config: ra.Runnable): Prom
     if (debugConfig.name === "run binary") {
         // The LSP side: crates\rust-analyzer\src\main_loop\handlers.rs,
         // fn to_lsp_runnable(...) with RunnableKind::Bin
-        debugConfig.name = `run binary '${path.basename(executable)}'`;
+        debugConfig.name = `run ${path.basename(executable)}`;
     }
 
     if (debugConfig.cwd) {