File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ import * as ld from "../../../src/core/lodash.ts";
1313import { runCmd } from "../util/cmd.ts" ;
1414import { applyGitPatches , Repo , withRepo } from "../util/git.ts" ;
1515
16- import { download , unzip } from "../util/utils.ts" ;
16+ import { download } from "../util/utils.ts" ;
1717import { Configuration } from "./config.ts" ;
1818import { visitLines } from "../../../src/core/file.ts" ;
1919import { copyMinimal } from "../../../src/core/copy.ts" ;
2020import { kSourceMappingRegexes } from "../../../src/config/constants.ts" ;
21+ import { unzip } from "../../../src/core/zip.ts" ;
2122
2223export async function updateHtmlDependencies ( config : Configuration ) {
2324 info ( "Updating Bootstrap with version info:" ) ;
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ import { isWindows } from "./platform.ts";
99import { execProcess } from "./process.ts" ;
1010import { safeWindowsExec } from "./windows.ts" ;
1111
12- export function unzip ( file : string ) {
13- const dir = dirname ( file ) ;
12+ export function unzip ( file : string , dir ?: string ) {
13+ if ( ! dir ) dir = dirname ( file ) ;
1414
1515 if ( file . endsWith ( "zip" ) ) {
1616 // It's a zip file
You can’t perform that action at this time.
0 commit comments