mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
vscode-postrefactor: migrate to arrow functions
This commit is contained in:
parent
fc47274541
commit
5a0041c5aa
1 changed files with 2 additions and 2 deletions
|
@ -85,10 +85,10 @@ function shouldDownloadServer(
|
|||
/**
|
||||
* Enforcing no reentrancy for this is best-effort.
|
||||
*/
|
||||
const downloadServer = notReentrant(async function downloadServer(
|
||||
const downloadServer = notReentrant(async (
|
||||
source: ArtifactSource.GithubRelease,
|
||||
config: Config,
|
||||
): Promise<null | string> {
|
||||
): Promise<null | string> => {
|
||||
try {
|
||||
const releaseInfo = await fetchArtifactReleaseInfo(source.repo, source.file, source.tag);
|
||||
|
||||
|
|
Loading…
Reference in a new issue