Set the report dir for download-and-submit

Fixes #196
This commit is contained in:
daz 2024-04-25 10:37:03 +01:00 committed by Daz DeBoer
parent 9ab93ee864
commit 7763d71170

View file

@ -22,6 +22,7 @@ export async function setup(config: DependencyGraphConfig): Promise<void> {
}
// Download and submit early, for compatability with dependency review.
if (option === DependencyGraphOption.DownloadAndSubmit) {
maybeExportVariable('DEPENDENCY_GRAPH_REPORT_DIR', config.getReportDirectory())
await downloadAndSubmitDependencyGraphs(config)
return
}