mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 15:14:32 +00:00
vscode: add name to the second unused argument of withProgress() callback
This commit is contained in:
parent
4e85254444
commit
9791b6a8de
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export async function downloadLatestLanguageServer(
|
|||
cancellable: false, // FIXME: add support for canceling download?
|
||||
title: `Downloading language server ${releaseName}`
|
||||
},
|
||||
async (progress, _) => {
|
||||
async (progress, _cancellationToken) => {
|
||||
let lastPrecentage = 0;
|
||||
await downloadFile(downloadUrl, installationPath, (readBytes, totalBytes) => {
|
||||
const newPercentage = (readBytes / totalBytes) * 100;
|
||||
|
|
Loading…
Reference in a new issue