aboutsummaryrefslogtreecommitdiff
path: root/src/ipcMain/index.ts
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-10-06 00:42:58 +0200
committerGitHub <noreply@github.com>2022-10-06 00:42:58 +0200
commit74c3930e0a5ed264f330bc32c27116ead1063c5d (patch)
treea29ba43787c8cf8bbee648b5b478a8152086f965 /src/ipcMain/index.ts
parente563521416052808bcec57057b921f0c0b6ca594 (diff)
downloadVencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.gz
Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.bz2
Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.zip
add eslint config (#53)
* eslint * workflow * lint main
Diffstat (limited to 'src/ipcMain/index.ts')
-rw-r--r--src/ipcMain/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipcMain/index.ts b/src/ipcMain/index.ts
index 22f05fd..61b631e 100644
--- a/src/ipcMain/index.ts
+++ b/src/ipcMain/index.ts
@@ -1,9 +1,9 @@
import { app, BrowserWindow, desktopCapturer, ipcMain, shell } from "electron";
import { mkdirSync, readFileSync, watch } from "fs";
import { open, readFile, writeFile } from "fs/promises";
-import { join } from 'path';
+import { join } from "path";
import { debounce } from "../utils/debounce";
-import IpcEvents from '../utils/IpcEvents';
+import IpcEvents from "../utils/IpcEvents";
import "./updater";
@@ -47,7 +47,7 @@ ipcMain.handle(IpcEvents.OPEN_EXTERNAL, (_, url) => {
ipcMain.handle(IpcEvents.GET_QUICK_CSS, () => readCss());
ipcMain.handle(IpcEvents.GET_SETTINGS_DIR, () => SETTINGS_DIR);
-ipcMain.on(IpcEvents.GET_SETTINGS, (e) => e.returnValue = readSettings());
+ipcMain.on(IpcEvents.GET_SETTINGS, e => e.returnValue = readSettings());
let settingsWriteQueue = Promise.resolve();
ipcMain.handle(IpcEvents.SET_SETTINGS, (_, s) => {