fix: initialize typo

This commit is contained in:
Mustafa Uzun 2023-08-18 14:17:38 +03:00
parent 620e85ca01
commit d295220c4d
2 changed files with 2 additions and 2 deletions

View file

@ -189,7 +189,7 @@ export function initialize({
sql: MainSQL; sql: MainSQL;
}): void { }): void {
if (initialized) { if (initialized) {
throw new Error('initialze: Already initialized!'); throw new Error('initialize: Already initialized!');
} }
initialized = true; initialized = true;

View file

@ -216,7 +216,7 @@ if (OS.isWindows()) {
sendDummyKeystroke = windowsNotifications.sendDummyKeystroke; sendDummyKeystroke = windowsNotifications.sendDummyKeystroke;
} catch (error) { } catch (error) {
getLogger().error( getLogger().error(
'Failed to initalize Windows Notifications:', 'Failed to initialize Windows Notifications:',
error.stack error.stack
); );
} }