diff options
author | Ven <vendicated@riseup.net> | 2022-10-06 00:42:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 00:42:58 +0200 |
commit | 74c3930e0a5ed264f330bc32c27116ead1063c5d (patch) | |
tree | a29ba43787c8cf8bbee648b5b478a8152086f965 /src/ipcMain/updater.ts | |
parent | e563521416052808bcec57057b921f0c0b6ca594 (diff) | |
download | Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.gz Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.bz2 Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.zip |
add eslint config (#53)
* eslint
* workflow
* lint main
Diffstat (limited to 'src/ipcMain/updater.ts')
-rw-r--r-- | src/ipcMain/updater.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ipcMain/updater.ts b/src/ipcMain/updater.ts index cd1fc6c..0801e0b 100644 --- a/src/ipcMain/updater.ts +++ b/src/ipcMain/updater.ts @@ -1,10 +1,10 @@ -import { ipcMain } from 'electron'; +import { ipcMain } from "electron"; import { promisify } from "util"; import IpcEvents from "../utils/IpcEvents"; -import { execFile as cpExecFile } from 'child_process'; -import { join } from 'path'; -import { createReadStream } from 'fs'; -import { createHash } from 'crypto'; +import { execFile as cpExecFile } from "child_process"; +import { join } from "path"; +import { createReadStream } from "fs"; +import { createHash } from "crypto"; const VENCORD_SRC_DIR = join(__dirname, ".."); @@ -64,7 +64,7 @@ async function getRepo() { async function calculateGitChanges() { await git("fetch"); - const res = await git("log", `HEAD...origin/main`, "--pretty=format:%an/%h/%s"); + const res = await git("log", "HEAD...origin/main", "--pretty=format:%an/%h/%s"); const commits = res.stdout.trim(); return commits ? commits.split("\n").map(line => { |