Skip to content

Commit

Permalink
fix: SARIF output IaC
Browse files Browse the repository at this point in the history
  • Loading branch information
teodora-sandu committed May 6, 2022
1 parent 6811138 commit d07b434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/formatters/iac-output/v1/index.ts
Expand Up @@ -144,7 +144,7 @@ export function createSarifOutputForIac(
try {
repoRoot = getRepoRoot();
} catch {
repoRoot = basePath;
repoRoot = pathLib.join(basePath, '/'); // the slash at the end is required, otherwise the artifactLocation.uri starts with a slash
}
const issues = iacTestResponses.reduce((collect: ResponseIssues, res) => {
if (res.result) {
Expand Down

0 comments on commit d07b434

Please sign in to comment.