From 941a6eb2584224581cbd6f1ebb2485d6399b92e0 Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Sun, 22 Feb 2026 10:09:17 -0800 Subject: [PATCH] Remove unused catch binding variables in fs.mjs Co-Authored-By: Claude Opus 4.6 --- app/common/fs.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/fs.mjs b/app/common/fs.mjs index 25422d9..9d8fab8 100644 --- a/app/common/fs.mjs +++ b/app/common/fs.mjs @@ -10,7 +10,7 @@ export async function exists(file) { await fs.access(file); return true; - } catch (e) { + } catch { // Not on local disk; check VFS (S3 listing) as fallback return (await vfs.has(file)) ?? false; } @@ -22,7 +22,7 @@ export async function olderThan(file, cutoff) { let stat = await fs.stat(file); return stat.mtime < cutoff; - } catch (e) { + } catch { // Not on local disk; check VFS (S3 listing) as fallback const mtime = await vfs.getMtime(file); if (mtime !== null) {