mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
remove errant --
in executeDiscoverProject
This commit is contained in:
parent
46e022098f
commit
1f5c535089
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ export async function discoverWorkspace(
|
||||||
): Promise<JsonProject> {
|
): Promise<JsonProject> {
|
||||||
const paths = files.map((f) => f.uri.fsPath).join(" ");
|
const paths = files.map((f) => f.uri.fsPath).join(" ");
|
||||||
const joinedCommand = command.join(" ");
|
const joinedCommand = command.join(" ");
|
||||||
const data = await executeDiscoverProject(`${joinedCommand} -- ${paths}`, options);
|
const data = await executeDiscoverProject(`${joinedCommand} ${paths}`, options);
|
||||||
return JSON.parse(data) as JsonProject;
|
return JSON.parse(data) as JsonProject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue