Skip to content

Commit

Permalink
fix: fix pupetter error related to sandboxing (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
HiroNonoyama authored Oct 2, 2024
1 parent e966f93 commit ff8ba2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const parseErrors = async (page) => {
};

(async () => {
const browser = await puppeteer.launch({ headless: true });
const browser = await puppeteer.launch({ headless: true, args: ['--no-sandbox'] });

Check failure on line 64 in src/index.js

View workflow job for this annotation

GitHub Actions / Swagger Editor Validate - Repo integrity

Replace `·headless:·true,·args:·['--no-sandbox']` with `⏎····headless:·true,⏎····args:·['--no-sandbox'],⏎·`
const page = await browser.newPage();
const definitionFilePath = path.join(
process.env.GITHUB_WORKSPACE,
Expand Down

0 comments on commit ff8ba2b

Please sign in to comment.