mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +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.
|
* Enforcing no reentrancy for this is best-effort.
|
||||||
*/
|
*/
|
||||||
const downloadServer = notReentrant(async function downloadServer(
|
const downloadServer = notReentrant(async (
|
||||||
source: ArtifactSource.GithubRelease,
|
source: ArtifactSource.GithubRelease,
|
||||||
config: Config,
|
config: Config,
|
||||||
): Promise<null | string> {
|
): Promise<null | string> => {
|
||||||
try {
|
try {
|
||||||
const releaseInfo = await fetchArtifactReleaseInfo(source.repo, source.file, source.tag);
|
const releaseInfo = await fetchArtifactReleaseInfo(source.repo, source.file, source.tag);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue