aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-03-16 10:17:36 +0000
committerGitHub <[email protected]>2020-03-16 10:17:36 +0000
commitd38d59fed810e702d7473cbb8485b26f921889c6 (patch)
treea876b8ee45a62f056eb43a61b0fd60a1387c0ccf /editors
parent9789f984cbe20a7fca1354e542be7bb345d795eb (diff)
vscode-postrefactor: prefer arrow functions
Diffstat (limited to 'editors')
-rw-r--r--editors/code/src/installation/extension.ts2
1 files changed, 1 insertions, 1 deletions
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 = "")
109 * each of them would result in a ton of code (especially accounting for cross-process 109 * each of them would result in a ton of code (especially accounting for cross-process
110 * shared mutable `globalState` access). Enforcing no reentrancy for this is best-effort. 110 * shared mutable `globalState` access). Enforcing no reentrancy for this is best-effort.
111 */ 111 */
112const tryDownloadNightlyExtension = notReentrant(async function tryDownloadNightlyExtension( 112const tryDownloadNightlyExtension = notReentrant(async (
113 config: Config, 113 config: Config,
114 shouldDownload: (releaseInfo: ArtifactReleaseInfo) => boolean = () => true 114 shouldDownload: (releaseInfo: ArtifactReleaseInfo) => boolean = () => true
115): Promise<never | void> { 115): Promise<never | void> {