From d38d59fed810e702d7473cbb8485b26f921889c6 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Mon, 16 Mar 2020 12:17:36 +0200 Subject: vscode-postrefactor: prefer arrow functions --- editors/code/src/installation/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code/src') diff --git a/editors/code/src/installation/extension.ts b/editors/code/src/installation/extension.ts index 0d69b8d0c..e0aa5317d 100644 --- a/editors/code/src/installation/extension.ts +++ b/editors/code/src/installation/extension.ts @@ -109,7 +109,7 @@ async function askToDownloadProperExtensionVersion(config: Config, reason = "") * each of them would result in a ton of code (especially accounting for cross-process * shared mutable `globalState` access). Enforcing no reentrancy for this is best-effort. */ -const tryDownloadNightlyExtension = notReentrant(async function tryDownloadNightlyExtension( +const tryDownloadNightlyExtension = notReentrant(async ( config: Config, shouldDownload: (releaseInfo: ArtifactReleaseInfo) => boolean = () => true ): Promise { -- cgit v1.2.3