Ensure that rootDirectory is suitable for sarifFile in uploadSarifArtifact

This commit is contained in:
Michael B. Gale
2026-10-16 13:09:16 +01:00
parent 3a61940e40
commit d6b8ed80f2
2 changed files with 2 additions and 2 deletions

View File

@@ -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 };