Skip to content

Commit

Permalink
Update packages/puppeteer-core/src/node/ChromeLauncher.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
  • Loading branch information
thiagowfx and Lightning00Blade committed Oct 13, 2023
1 parent 2ce2f59 commit 9cd5068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/puppeteer-core/src/node/ChromeLauncher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ function convertPuppeteerChannelToBrowsersChannel(
* @internal
*/
export function getFeatures(flag: string, options: string[] = []): string[] {
const opts = options
return options
.filter(s => {
return s.startsWith(flag.endsWith('=') ? flag : `${flag}=`);
})
Expand Down

0 comments on commit 9cd5068

Please sign in to comment.