mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
Use ZipArchive instead of archive("zip")
This commit is contained in:
13148
lib/entry-points.js
generated
13148
lib/entry-points.js
generated
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@ import * as path from "path";
|
||||
import * as artifact from "@actions/artifact";
|
||||
import * as artifactLegacy from "@actions/artifact-legacy";
|
||||
import * as core from "@actions/core";
|
||||
import archiver from "archiver";
|
||||
import { ZipArchive } from "archiver";
|
||||
|
||||
import { getOptionalInput, getTemporaryDirectory } from "./actions-util";
|
||||
import { dbIsFinalized } from "./analyze";
|
||||
@@ -397,7 +397,7 @@ async function createPartialDatabaseBundle(
|
||||
await fs.promises.rm(databaseBundlePath, { force: true });
|
||||
}
|
||||
const output = fs.createWriteStream(databaseBundlePath);
|
||||
const zip = archiver("zip");
|
||||
const zip = new ZipArchive();
|
||||
|
||||
zip.on("error", (err) => {
|
||||
throw err;
|
||||
|
||||
Reference in New Issue
Block a user