From b285753b2455bc723d8539ea606e6fc4188967b7 Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Mon, 15 Apr 2024 04:01:57 -0400 Subject: [PATCH] fix: omg why do i forget these things here --- app/utils/config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/utils/config.ts b/app/utils/config.ts index 28dc05c..02c972c 100644 --- a/app/utils/config.ts +++ b/app/utils/config.ts @@ -323,8 +323,6 @@ async function hasAclW() { const config = await getConfig() path = config.acl_policy_path } catch {} - - return false } if (!path) { @@ -335,7 +333,9 @@ async function hasAclW() { path = resolve(path) await access(path, constants.W_OK) return true - } catch {} + } catch (error) { + console.log('Cannot acquire read access to ACL file', error) + } return false }