Skip to content

Commit 0e6aa81

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Remove unneeded 'progressCallback' undefined conditional
1 parent 6333c9e commit 0e6aa81

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

extensions/ql-vscode/src/variant-analysis/view-autofixes.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,7 @@ async function downloadPublicCommitSource(
560560
await unzipToDirectoryConcurrently(
561561
archivePath,
562562
checkoutDir,
563-
progressCallback
564-
? reportUnzipProgress(`Unzipping source root...`, progressCallback)
565-
: undefined,
563+
reportUnzipProgress(`Unzipping source root...`, progressCallback),
566564
);
567565
await remove(archivePath);
568566

0 commit comments

Comments
 (0)