aboutsummaryrefslogtreecommitdiff
path: root/scripts/patcher
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-08 20:36:57 +0200
committerVendicated <vendicated@riseup.net>2022-10-08 20:36:57 +0200
commitdea34503ef61fe8f2600d2d9b0edb2eec90ebd1b (patch)
treebf4a0037dbecb8b9b00413c59f1af2b434d561e6 /scripts/patcher
parent0109381a4f5a513a23258130bca06d40fcbc8ea9 (diff)
downloadVencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.tar.gz
Vencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.tar.bz2
Vencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.zip
Add more eslint rules
Diffstat (limited to 'scripts/patcher')
-rw-r--r--scripts/patcher/install.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/patcher/install.js b/scripts/patcher/install.js
index c9babc8..4e75dbe 100644
--- a/scripts/patcher/install.js
+++ b/scripts/patcher/install.js
@@ -43,7 +43,7 @@ async function install(installations) {
// Attempt to give flatpak perms
if (selected.isFlatpak) {
try {
- const branch = selected.branch;
+ const { branch } = selected;
const cwd = process.cwd();
const globalCmd = `flatpak override ${branch} --filesystem=${cwd}`;
const userCmd = `flatpak override --user ${branch} --filesystem=${cwd}`;