json: Fix package-version-server referencing the wrong path to the binary (#13555)

We were trying to access the binary at
package-version-server-{VERSION}/package-version-server, whereas the
binary itself is placed at package-version-server-{VERSION}

Release Notes:

- Fixed package.json language server failing to start.

Co-authored-by: Peter Tripp <peter@zed.dev>
This commit is contained in:
Piotr Osiewicz
2024-06-26 16:17:55 -04:00
committed by GitHub
co-authored by Peter Tripp
parent 49dc63812a
commit 3a08d7ab43
+1 -1
View File
@@ -348,7 +348,7 @@ impl LspAdapter for NodeVersionAdapter {
}
Ok(LanguageServerBinary {
path: destination_path.join("package-version-server"),
path: destination_path,
env: None,
arguments: Default::default(),
})