Skip to content

Commit

Permalink
[#116] Use correct --version argument
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoaloi committed Dec 1, 2021
1 parent 79879e8 commit 9bad725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function get_client(context: ExtensionContext): Promise<LanguageCli
}

export function verifyExecutable(serverPath: string) {
const res = spawnSync(serverPath, ["-version"]);
const res = spawnSync(serverPath, ["--version"]);
if (res.status !== 0) {
window.showErrorMessage('Could not start Language Server. Error: ' + res.stdout);
}
Expand Down

0 comments on commit 9bad725

Please sign in to comment.