Skip to content

Commit

Permalink
Merge pull request #78 from ScottLogic/SDE---Issue-on-cold-start-of-h…
Browse files Browse the repository at this point in the history
…ybrid-lambda

SDE - fix issue on hybrid cold start generation
  • Loading branch information
OliverForeman authored Aug 28, 2019
2 parents fd6973f + d200ad3 commit 3e1210b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/hybridReport/hybridGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class HybridGenerator {
headless: chrome.headless,
});
const page = await browser.newPage();
page.setContent(formattedHTML);
await page.setContent(formattedHTML);
const buffer = await page.pdf({
format: 'A4'
});
Expand Down

0 comments on commit 3e1210b

Please sign in to comment.