Fix typo in windows.getLastFocused (#277)

This commit is contained in:
Philipp Kewisch 2020-08-29 19:14:42 +02:00 committed by GitHub
parent 82e7361567
commit 0da87398b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ export async function mostRecentBrowser(incognito: boolean): Promise<any> {
}
catch {
try {
window = await windows.getlastFocused();
window = await windows.getLastFocused();
if (window.type !== "normal") {
throw new Error("not a normal window");
}