Skip to content

Commit 9038586

Browse files
committed
Rename unzipToDirectory to unzipToDirectorySequentially
1 parent 8008904 commit 9038586

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

extensions/ql-vscode/src/common/unzip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export async function copyStream(
110110
* @param archivePath
111111
* @param destinationPath
112112
*/
113-
export async function unzipToDirectory(
113+
export async function unzipToDirectorySequentially(
114114
archivePath: string,
115115
destinationPath: string,
116116
): Promise<void> {

extensions/ql-vscode/test/vscode-tests/ensureCli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
getRequiredAssetName,
55
codeQlLauncherName,
66
} from "../../src/common/distribution";
7-
import { unzipToDirectory } from "../../src/common/unzip";
7+
import { unzipToDirectorySequentially } from "../../src/common/unzip";
88
import fetch from "node-fetch";
99
import supportedCliVersions from "../../supported_cli_versions.json";
1010

@@ -126,7 +126,7 @@ export async function ensureCli(useCli: boolean) {
126126

127127
console.log(`Unzipping into '${unzipDir}'`);
128128
mkdirpSync(unzipDir);
129-
await unzipToDirectory(downloadedFilePath, unzipDir);
129+
await unzipToDirectorySequentially(downloadedFilePath, unzipDir);
130130
console.log("Done.");
131131
} catch (e) {
132132
console.error("Failed to download CLI.");

0 commit comments

Comments
 (0)