diff options
| author | Veetaha <veetaha2@gmail.com> | 2020-03-16 12:19:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-16 12:19:26 +0200 |
| commit | 5a0041c5aaeee49be84ce771fb0360ae55cbd8b2 (patch) | |
| tree | 548b9b9a9461708d6d3baf9793fb38beda65797e /editors/code/src | |
| parent | fc47274541b5f4e9c8406c4dd401392129845396 (diff) | |
| download | rust-5a0041c5aaeee49be84ce771fb0360ae55cbd8b2.tar.gz rust-5a0041c5aaeee49be84ce771fb0360ae55cbd8b2.zip | |
vscode-postrefactor: migrate to arrow functions
Diffstat (limited to 'editors/code/src')
| -rw-r--r-- | editors/code/src/installation/server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/installation/server.ts b/editors/code/src/installation/server.ts index f359584744b..05730a77885 100644 --- a/editors/code/src/installation/server.ts +++ b/editors/code/src/installation/server.ts @@ -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); |
