From 66b6fb4cf098bc2aa3775e22309ed80f3be25a40 Mon Sep 17 00:00:00 2001 From: Theo Browne Date: Sat, 8 Aug 2026 15:03:37 -0700 Subject: [PATCH] fix(server): follow namespace-node-imports lint rule for fs/promises Co-Authored-By: Claude Fable 5 --- apps/server/src/usage/accountLimitsTranscripts.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/server/src/usage/accountLimitsTranscripts.ts b/apps/server/src/usage/accountLimitsTranscripts.ts index ed3a4d1dd4..05c4e10a5f 100644 --- a/apps/server/src/usage/accountLimitsTranscripts.ts +++ b/apps/server/src/usage/accountLimitsTranscripts.ts @@ -13,7 +13,7 @@ * * @module accountLimitsTranscripts */ -import * as NodeFs from "node:fs/promises"; +import * as NodeFSP from "node:fs/promises"; import { codexSnapshotFromUnknown, @@ -61,9 +61,9 @@ async function readTailRateLimits( filePath: string, mtimeMs: number, ): Promise { - let handle: NodeFs.FileHandle; + let handle: NodeFSP.FileHandle; try { - handle = await NodeFs.open(filePath, "r"); + handle = await NodeFSP.open(filePath, "r"); } catch { return null; }