From 137d6c25239d6f38ffff190d5af50a9e094c0c2b Mon Sep 17 00:00:00 2001 From: Fred KISSIE Date: Thu, 18 Dec 2025 04:36:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20fix=20typescript=20erro?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cli/commands/clearExitNodes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/commands/clearExitNodes.ts b/cli/commands/clearExitNodes.ts index 092e9761..2a283203 100644 --- a/cli/commands/clearExitNodes.ts +++ b/cli/commands/clearExitNodes.ts @@ -23,9 +23,9 @@ export const clearExitNodes: CommandModule< // Delete all exit nodes const deletedCount = await db .delete(exitNodes) - .where(eq(exitNodes.exitNodeId, exitNodes.exitNodeId)); // delete all + .where(eq(exitNodes.exitNodeId, exitNodes.exitNodeId)) .returning();; // delete all - console.log(`Deleted ${deletedCount.changes} exit node(s) from the database`); + console.log(`Deleted ${deletedCount.length} exit node(s) from the database`); process.exit(0); } catch (error) {