vscode-postrefactor: migrate to arrow functions

This commit is contained in:
Veetaha 2020-03-16 12:19:26 +02:00 committed by GitHub
parent fc47274541
commit 5a0041c5aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);