From dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 8 Oct 2022 20:36:57 +0200 Subject: Add more eslint rules --- scripts/patcher/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/patcher') 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}`; -- cgit