Skip to content

Commit

Permalink
[megalinter] set REPORT_OUTPUT_FOLDER
Browse files Browse the repository at this point in the history
[megalinter] set REPORT_OUTPUT_FOLDER
  • Loading branch information
tsirysndr committed Mar 11, 2024
1 parent fae4633 commit 67a7f64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion megalinter/src/dagger/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ export async function lint(
.from("oxsecurity/megalinter:v7")
.withDirectory("/app", context)
.withEnvVariable("DEFAULT_WORKSPACE", "/app")
.withEnvVariable("REPORT_OUTPUT_FOLDER", "megalinter-reports")
.withWorkdir("/app");

await ctr.stdout();
return ctr.directory("/app/megalinter-reports").id();
return ctr.directory("./megalinter-reports").id();
}
export type JobExec = (
src: string,
Expand Down

0 comments on commit 67a7f64

Please sign in to comment.