mirror of
https://github.com/github/codeql-action.git
synced 2026-05-12 08:40:13 +00:00
Run file command
This commit is contained in:
Generated
+3
@@ -139,6 +139,9 @@ async function extractTarZst(tar, tarVersion, logger) {
|
||||
logger.debug(`Extracting to ${dest}.${tar instanceof stream.Readable
|
||||
? ` Input stream has high water mark ${tar.readableHighWaterMark}.`
|
||||
: ""}`);
|
||||
if (typeof tar === "string") {
|
||||
await (0, actions_util_1.runTool)("file", [tar]);
|
||||
}
|
||||
try {
|
||||
// Initialize args
|
||||
const args = ["-x", "--zstd", "-v"];
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user