From b5ba374dde0a9de16608b98fa7b1d3de3f4a355b Mon Sep 17 00:00:00 2001 From: Wim Selles Date: Wed, 28 Oct 2020 19:59:50 +0100 Subject: [PATCH] fix: fix indentation error --- src/launcher/launcher.ts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/launcher/launcher.ts b/src/launcher/launcher.ts index 60942c6..04424a1 100644 --- a/src/launcher/launcher.ts +++ b/src/launcher/launcher.ts @@ -38,10 +38,10 @@ export function SaucelabsLauncher(args, const heartbeat = () => { const driver = connectedDrivers.get(this.id); - pendingHeartBeat = setTimeout( async () => { - if (!driver) { - return - } + pendingHeartBeat = setTimeout(async () => { + if (!driver) { + return + } try { await driver.getTitle(); log.debug('Heartbeat to Sauce Labs (%s) - fetching title', browserName) @@ -50,9 +50,10 @@ export function SaucelabsLauncher(args, // Do nothing, just clear the timeout clearTimeout(pendingHeartBeat) } - } - return; - }, 60000); + return; + }, + 60000, + ); } // Listen for the start event from Karma. I know, the API is a bit different to how you