mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Fix runnable naming in the client side fallback.
This commit is contained in:
parent
51d5a08255
commit
abef76bc87
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue