Skip to content

Commit 8462ded

Browse files
author
Nima21
committed
lint
1 parent e8e4418 commit 8462ded

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/browser.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,9 @@ export async function launch(options: McpLaunchOptions): Promise<Browser> {
179179
...(options.chromeArgs ?? []),
180180
'--hide-crash-restore-bubble',
181181
];
182-
const ignoreDefaultArgs: LaunchOptions['ignoreDefaultArgs'] =
183-
options.stealth
184-
? [...(options.ignoreDefaultChromeArgs ?? []), '--enable-automation']
185-
: options.ignoreDefaultChromeArgs ?? false;
182+
const ignoreDefaultArgs: LaunchOptions['ignoreDefaultArgs'] = options.stealth
183+
? [...(options.ignoreDefaultChromeArgs ?? []), '--enable-automation']
184+
: (options.ignoreDefaultChromeArgs ?? false);
186185

187186
// Add stealth-enhancing arguments if stealth mode is enabled
188187
if (options.stealth) {

test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test file content

0 commit comments

Comments
 (0)