File tree Expand file tree Collapse file tree
extensions/ql-vscode/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import { spawnSync } from "child_process";
2020import { basename , resolve } from "path" ;
2121import { pathExists , readJSON } from "fs-extra" ;
2222import { RawSourceMap , SourceMapConsumer } from "source-map" ;
23- import { Open } from "unzipper " ;
23+ import { unzipToDirectory } from "../src/common/unzip " ;
2424
2525if ( process . argv . length !== 4 ) {
2626 console . error (
@@ -78,10 +78,10 @@ async function extractSourceMap() {
7878 releaseAssetsDirectory ,
7979 ] ) ;
8080
81- const file = await Open . file (
81+ await unzipToDirectory (
8282 resolve ( releaseAssetsDirectory , sourcemapAsset . name ) ,
83+ sourceMapsDirectory ,
8384 ) ;
84- await file . extract ( { path : sourceMapsDirectory } ) ;
8585 } else {
8686 const workflowRuns = runGhJSON < WorkflowRunListItem [ ] > ( [
8787 "run" ,
You can’t perform that action at this time.
0 commit comments