Source ESLint server from Github rather than 3rd party NPM package
This commit is contained in:
parent
dc999f719b
commit
1bf85214a4
13 changed files with 128 additions and 66 deletions
|
@ -33,7 +33,7 @@ impl super::LspAdapter for GoLspAdapter {
|
|||
&self,
|
||||
http: Arc<dyn HttpClient>,
|
||||
) -> Result<Box<dyn 'static + Send + Any>> {
|
||||
let release = latest_github_release("golang/tools", http).await?;
|
||||
let release = latest_github_release("golang/tools", false, http).await?;
|
||||
let version: Option<String> = release.name.strip_prefix("gopls/v").map(str::to_string);
|
||||
if version.is_none() {
|
||||
log::warn!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue