Skip to content

Commit e895fd2

Browse files
authored
Good catch Ros! (#8033)
1 parent 42f5358 commit e895fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emulator/downloadableEmulators.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ export async function start(
655655
}
656656

657657
export function isIncomaptibleArchError(err: unknown): boolean {
658-
const hasMessage = (e: any): e is { message: string } => !!e.message;
658+
const hasMessage = (e: any): e is { message: string } => !!e?.message;
659659
return (
660660
hasMessage(err) &&
661661
/Unknown system error/.test(err.message ?? "") &&

0 commit comments

Comments
 (0)