Skip to content

Commit b5ba374

Browse files
committed
fix: fix indentation error
1 parent 213400c commit b5ba374

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/launcher/launcher.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ export function SaucelabsLauncher(args,
3838
const heartbeat = () => {
3939
const driver = connectedDrivers.get(this.id);
4040

41-
pendingHeartBeat = setTimeout( async () => {
42-
if (!driver) {
43-
return
44-
}
41+
pendingHeartBeat = setTimeout(async () => {
42+
if (!driver) {
43+
return
44+
}
4545
try {
4646
await driver.getTitle();
4747
log.debug('Heartbeat to Sauce Labs (%s) - fetching title', browserName)
@@ -50,9 +50,10 @@ export function SaucelabsLauncher(args,
5050
// Do nothing, just clear the timeout
5151
clearTimeout(pendingHeartBeat)
5252
}
53-
}
54-
return;
55-
}, 60000);
53+
return;
54+
},
55+
60000,
56+
);
5657
}
5758

5859
// Listen for the start event from Karma. I know, the API is a bit different to how you

0 commit comments

Comments
 (0)