Skip to content

Commit 0a0f974

Browse files
Specify local dotnet command to launch lanugage service (#910)
1 parent 800d4a8 commit 0a0f974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vscode-bicep/src/language/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function launchLanguageService(
4242
getLogger().debug(`Found language server at '${languageServerPath}'.`);
4343

4444
const serverExecutable: lsp.Executable = {
45-
command: path.basename(dotnetCommandPath),
45+
command: `.${path.sep}${path.basename(dotnetCommandPath)}`,
4646
args: [languageServerPath],
4747
options: {
4848
cwd: path.dirname(dotnetCommandPath),

0 commit comments

Comments
 (0)