Skip to content

Commit

Permalink
fix(api): add missing await (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreDemailly authored Jul 27, 2024
1 parent 985548d commit 526117a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function report(
);

if (reportConfig.reporters.includes("pdf")) {
return PDF(reportHTMLPath, {
return await PDF(reportHTMLPath, {
title: reportConfig.title,
saveOnDisk: savePDFOnDisk,
reportOutputLocation: finalReportLocation
Expand Down

0 comments on commit 526117a

Please sign in to comment.