Fix runnable naming in the client side fallback.

This commit is contained in:
vsrs 2020-05-14 17:32:24 +03:00
parent 51d5a08255
commit abef76bc87

View file

@ -90,7 +90,7 @@ export async function getDebugConfiguration(ctx: Ctx, config: ra.Runnable): Prom
if (debugConfig.name === "run binary") { if (debugConfig.name === "run binary") {
// The LSP side: crates\rust-analyzer\src\main_loop\handlers.rs, // The LSP side: crates\rust-analyzer\src\main_loop\handlers.rs,
// fn to_lsp_runnable(...) with RunnableKind::Bin // fn to_lsp_runnable(...) with RunnableKind::Bin
debugConfig.name = `run binary '${path.basename(executable)}'`; debugConfig.name = `run ${path.basename(executable)}`;
} }
if (debugConfig.cwd) { if (debugConfig.cwd) {