about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorVeetaha <veetaha2@gmail.com>2020-03-16 12:19:26 +0200
committerGitHub <noreply@github.com>2020-03-16 12:19:26 +0200
commit5a0041c5aaeee49be84ce771fb0360ae55cbd8b2 (patch)
tree548b9b9a9461708d6d3baf9793fb38beda65797e /editors/code/src
parentfc47274541b5f4e9c8406c4dd401392129845396 (diff)
downloadrust-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.ts4
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);