chore(hardening): add debt inventory and async io kickoff

This commit is contained in:
Tam Nhu Tran committed 2026-02-12 12:57:46 +07:00
1 parent e68ae5b166
commit cefb564948
8 files changed
+875 -3

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ export async function parseProjectDirectory(projectDir: string): Promise<RawUsag
const projectPath = path.basename(projectDir).replace(/-/g, '/');
try {
const files = fs.readdirSync(projectDir);
const files = await fs.promises.readdir(projectDir);
const jsonlFiles = files.filter((f) => f.endsWith('.jsonl'));
// Parse files sequentially within a project to avoid too many open handles