From 0da87398b4c34799e4be7092f9c3441ae2235025 Mon Sep 17 00:00:00 2001 From: Philipp Kewisch Date: Sat, 29 Aug 2020 19:14:42 +0200 Subject: [PATCH] Fix typo in windows.getLastFocused (#277) --- lib/windowutils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/windowutils.ts b/lib/windowutils.ts index 7b9b1da..6ff38ec 100644 --- a/lib/windowutils.ts +++ b/lib/windowutils.ts @@ -30,7 +30,7 @@ export async function mostRecentBrowser(incognito: boolean): Promise { } catch { try { - window = await windows.getlastFocused(); + window = await windows.getLastFocused(); if (window.type !== "normal") { throw new Error("not a normal window"); }