mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-01 12:33:31 +00:00
xo: Handle floating promises.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
0225778050
commit
bb88a7b7a8
@@ -117,6 +117,6 @@ ipcRenderer.on('set-idle', () => {
|
||||
electron_bridge.idle_on_system = true;
|
||||
});
|
||||
|
||||
webFrame.executeJavaScript(
|
||||
(async () => webFrame.executeJavaScript(
|
||||
fs.readFileSync(require.resolve('./injected'), 'utf8')
|
||||
);
|
||||
))();
|
||||
|
Reference in New Issue
Block a user