Skip to content

Commit

Permalink
7z 파일을 zip으로 푸는 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hhgyu committed Dec 4, 2023
1 parent 2baa32f commit a50a327
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32036,7 +32036,7 @@ function extractVCArchive(archivePath) {
const platform = node_os_1.default.platform();
let extPath;
if (platform === 'win32') {
extPath = yield (0, tool_cache_1.extractZip)(archivePath);
extPath = yield (0, tool_cache_1.extract7z)(archivePath);
}
else {
extPath = yield (0, tool_cache_1.extractTar)(archivePath);
Expand Down
2 changes: 1 addition & 1 deletion dist/setup/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import {
IToolRelease,
cacheDir,
downloadTool,
extract7z,
extractTar,
extractZip,
find,
findFromManifest,
getManifestFromRepo
Expand Down Expand Up @@ -262,7 +262,7 @@ export async function extractVCArchive(archivePath: string): Promise<string> {
let extPath: string;

if (platform === 'win32') {
extPath = await extractZip(archivePath);
extPath = await extract7z(archivePath);
} else {
extPath = await extractTar(archivePath);
}
Expand Down

0 comments on commit a50a327

Please sign in to comment.