There was an error while loading. Please reload this page.
ZipArchive
archive("zip")
1 parent 4138e5a commit a0a352cCopy full SHA for a0a352c
1 file changed
src/debug-artifacts.ts
@@ -4,7 +4,7 @@ import * as path from "path";
4
import * as artifact from "@actions/artifact";
5
import * as artifactLegacy from "@actions/artifact-legacy";
6
import * as core from "@actions/core";
7
-import archiver from "archiver";
+import { ZipArchive } from "archiver";
8
9
import { getOptionalInput, getTemporaryDirectory } from "./actions-util";
10
import { dbIsFinalized } from "./analyze";
@@ -397,7 +397,7 @@ async function createPartialDatabaseBundle(
397
await fs.promises.rm(databaseBundlePath, { force: true });
398
}
399
const output = fs.createWriteStream(databaseBundlePath);
400
- const zip = archiver("zip");
+ const zip = new ZipArchive();
401
402
zip.on("error", (err) => {
403
throw err;
0 commit comments