File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,14 @@ async function build() {
2929 await buildExtAndWebview ( ) ;
3030
3131 // Step 2: Download the Source LSP server
32- const version = "0.0.6" ;
32+ // TODO: This is not ideal, LSP version is no longer locked. See issue#5
33+ // const version = "0.0.8";
3334 const lspFilename = "source-lsp.js" ;
34- const url = `https://github.com/mug1wara26/source-lsp/releases/download/v ${ version } /${ lspFilename } ` ;
35+ const url = `https://github.com/mug1wara26/source-lsp/releases/latest/download /${ lspFilename } ` ;
3536 const outputPath = path . join ( outputFolder , lspFilename ) ; // Save in the same directory
3637 // Function below handles the 302 Found redirection from GitHub
3738 await downloadFile ( url , outputPath ) ;
38- console . log ( " LSP server downloaded." ) ;
39+ console . log ( ` LSP server downloaded from ${ url } ` ) ;
3940}
4041
4142/**
You can’t perform that action at this time.
0 commit comments