mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 17:39:50 +00:00
Don't throw error for ENOENT
This commit is contained in:
@@ -352,7 +352,10 @@ async function createPartialDatabaseBundle(
|
||||
});
|
||||
|
||||
zip.on("warning", (err) => {
|
||||
throw err;
|
||||
// Ignore ENOENT warnings. There's nothing anyone can do about it.
|
||||
if (err.code !== "ENOENT") {
|
||||
throw err;
|
||||
}
|
||||
});
|
||||
|
||||
zip.pipe(output);
|
||||
|
||||
Reference in New Issue
Block a user