Source ESLint server from Github rather than 3rd party NPM package
This commit is contained in:
@@ -53,7 +53,7 @@ impl LspAdapter for PythonLspAdapter {
|
||||
|
||||
if fs::metadata(&server_path).await.is_err() {
|
||||
self.node
|
||||
.npm_install_packages([("pyright", version.as_str())], &container_dir)
|
||||
.npm_install_packages(&container_dir, [("pyright", version.as_str())])
|
||||
.await?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user