Skip to content

Commit

Permalink
Merge pull request #117 from erlang-ls/116-fix-verify-executable
Browse files Browse the repository at this point in the history
[#116] fix verify executable
  • Loading branch information
robertoaloi authored Dec 1, 2021
2 parents 79879e8 + 2106322 commit 7de7449
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### 0.0.31

Server (0.20.0 -> 0.21.0):
Server (0.20.0 -> 0.21.1):

- Ignore test data directories by @dgud in https://github.com/erlang-ls/erlang_ls/pull/1109
- Discover test files automatically by @robertoaloi in https://github.com/erlang-ls/erlang_ls/pull/1111
Expand All @@ -19,6 +19,7 @@ Server (0.20.0 -> 0.21.0):
- Do not include error description in code by @robertoaloi in https://github.com/erlang-ls/erlang_ls/pull/1141
- Lower docs log message level to DEBUG by @robertoaloi in https://github.com/erlang-ls/erlang_ls/pull/1144
- Fix unicode output via stdout by @garazdawi in https://github.com/erlang-ls/erlang_ls/pull/1147
- [#1149] Exit with 0 on --version by @robertoaloi in https://github.com/erlang-ls/erlang_ls/pull/1150

Extension:

Expand Down
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
2 changes: 1 addition & 1 deletion erlang_ls

0 comments on commit 7de7449

Please sign in to comment.