vscode-postrefactor: prefer arrow functions

This commit is contained in:
Veetaha
2020-03-16 12:17:36 +02:00
committed by GitHub
parent 9789f984cb
commit d38d59fed8

View File

@@ -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<never | void> {