Skip to content

Commit

Permalink
deps(puppeteer): update the way headless works
Browse files Browse the repository at this point in the history
  • Loading branch information
nabondance committed May 27, 2024
1 parent 0409d76 commit 088840a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/texei/cpqsettings/set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default class Set extends SfCommand<CpqSettingsSetResult> {
// Init browser
const browser = await puppeteer.launch({
args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: !(process.env.BROWSER_DEBUG === 'true') ? 'new' : false,
headless: process.env.BROWSER_DEBUG === 'true' ? false : true,
});
const page = await browser.newPage();

Expand Down

0 comments on commit 088840a

Please sign in to comment.