Skip to content

Commit

Permalink
chore: Modify chromium install options (#10432)
Browse files Browse the repository at this point in the history
chore: modify chromium install options
  • Loading branch information
filzrev authored Nov 29, 2024
1 parent 1ebf1ba commit 1488a4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Docfx.App/PdfBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static async Task CreatePdf(string outputFolder)

PlaywrightHelper.EnsurePlaywrightNodeJsPath();

Program.Main(["install", "chromium"]);
Program.Main(["install", "chromium", "--only-shell"]);

var builder = WebApplication.CreateBuilder();
builder.Logging.ClearProviders();
Expand Down
2 changes: 1 addition & 1 deletion test/docfx.Snapshot.Tests/PercyTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public PercyFactAttribute()
static PercyTest()
{
PlaywrightHelper.EnsurePlaywrightNodeJsPath();
Microsoft.Playwright.Program.Main(["install", "chromium"]);
Microsoft.Playwright.Program.Main(["install", "chromium", "--only-shell"]);
}

[PercyFact]
Expand Down

0 comments on commit 1488a4e

Please sign in to comment.