From 5b576ab30433203ae8c553078bfedb4bf63ad640 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Thu, 7 Nov 2024 13:20:56 +0100 Subject: [PATCH] remove unused arg --- packages/playwright-core/src/utils/processLauncher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playwright-core/src/utils/processLauncher.ts b/packages/playwright-core/src/utils/processLauncher.ts index 19c6531c6b..3265d55026 100644 --- a/packages/playwright-core/src/utils/processLauncher.ts +++ b/packages/playwright-core/src/utils/processLauncher.ts @@ -215,7 +215,7 @@ export async function launchProcess(options: LaunchProcessOptions): Promise`); - await options.attemptToGracefullyClose().catch((e) => killProcess()); + await options.attemptToGracefullyClose().catch(() => killProcess()); await waitForCleanup; // Ensure the process is dead and we have cleaned up. options.log(`[pid=${spawnedProcess.pid}] `); }