Skip to content

Commit ac1db0a

Browse files
committed
fix typing cast issue
1 parent f82d283 commit ac1db0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/launcher/lib/linux/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const createTimeoutPromise = (timeout: number = 30000, message: string = `Timed
2121

2222
async function isFirefoxSnap (binary: string): Promise<boolean> {
2323
try {
24-
const result = await Promise.race([getFirefoxSnap(binary), createTimeoutPromise(30000, 'Timed out after 30 seconds checking if Firefox is a snap')]) as Promise<boolean>
24+
const result = await Promise.race([getFirefoxSnap(binary), createTimeoutPromise(30000, 'Timed out after 30 seconds checking if Firefox is a snap')]) as boolean
2525

2626
return result
2727
} catch (err) {

0 commit comments

Comments
 (0)