vscode-postrefactor: fix syntax error

This commit is contained in:
Veetaha 2020-03-16 12:18:30 +02:00 committed by GitHub
parent d38d59fed8
commit fc47274541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@ async function askToDownloadProperExtensionVersion(config: Config, reason = "")
const tryDownloadNightlyExtension = notReentrant(async (
config: Config,
shouldDownload: (releaseInfo: ArtifactReleaseInfo) => boolean = () => true
): Promise<never | void> {
): Promise<never | void> => {
const vsixSource = config.nightlyVsixSource;
try {
const releaseInfo = await fetchArtifactReleaseInfo(vsixSource.repo, vsixSource.file, vsixSource.tag);