Skip to content

Commit

Permalink
Specify local dotnet command to launch lanugage service (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-c-martin authored Nov 13, 2020
1 parent 800d4a8 commit 0a0f974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vscode-bicep/src/language/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function launchLanguageService(
getLogger().debug(`Found language server at '${languageServerPath}'.`);

const serverExecutable: lsp.Executable = {
command: path.basename(dotnetCommandPath),
command: `.${path.sep}${path.basename(dotnetCommandPath)}`,
args: [languageServerPath],
options: {
cwd: path.dirname(dotnetCommandPath),
Expand Down

0 comments on commit 0a0f974

Please sign in to comment.