fix(server): follow namespace-node-imports lint rule for fs/promises

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
Theo BrowneandClaude Fable 5 committed 2026-08-08 19:11:30 -07:00
1 parent d95c7667e4
commit 66b6fb4cf0
1 file changed
+3 -3
@@ -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<CodexTranscriptRateLimits | null> {
let handle: NodeFs.FileHandle;
let handle: NodeFSP.FileHandle;
try {
handle = await NodeFs.open(filePath, "r");
handle = await NodeFSP.open(filePath, "r");
} catch {
return null;
}