Skip to content

Commit 0ed222b

Browse files
.
1 parent 72c5229 commit 0ed222b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

roles/lib/files/FWO.Report/ReportBase.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,8 @@ public static string ToUtcString(string? timestring)
253253

254254
using IBrowser? browser = await Puppeteer.LaunchAsync(new LaunchOptions
255255
{
256-
ExecutablePath = brw.GetExecutablePath(),
257-
Headless = true ,
258-
Args = new[] { "CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox" }
256+
ExecutablePath = path,
257+
Headless = true
259258
});
260259

261260
try

roles/tests-unit/files/FWO.Test/HtmlToPdfTest.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ public async Task GeneratePdf()
5151

5252
using IBrowser? browser = await Puppeteer.LaunchAsync(new LaunchOptions
5353
{
54-
ExecutablePath = brw.GetExecutablePath(),
55-
Headless = true,
56-
Args = new[] { "CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox" }
54+
ExecutablePath = path,
55+
Headless = true
5756
});
5857

5958
try

0 commit comments

Comments
 (0)