mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 10:11:28 +00:00
Ensure that rootDirectory is suitable for sarifFile in uploadSarifArtifact
This commit is contained in:
@@ -288,7 +288,7 @@ async function uploadSarifArtifact(
|
||||
await client.uploadArtifact(
|
||||
name,
|
||||
[path.normalize(failedSarif.sarifFile)],
|
||||
path.normalize(".."),
|
||||
path.normalize(path.dirname(failedSarif.sarifFile)),
|
||||
);
|
||||
|
||||
return { sarifID: name };
|
||||
|
||||
Reference in New Issue
Block a user