style: removed .js extension from imports and added node: prefix to builtins

This commit is contained in:
can1357
2026-01-03 05:11:18 +01:00
parent 3d53aa181f
commit 50ab6b8b1b
296 changed files with 1060 additions and 1658 deletions
+3 -3
View File
@@ -2,9 +2,9 @@
* One-time migrations that run on startup.
*/
import { existsSync, mkdirSync, readdirSync, readFileSync, renameSync, writeFileSync } from "fs";
import { dirname, join } from "path";
import { getAgentDir } from "./config.js";
import { existsSync, mkdirSync, readdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
import { dirname, join } from "node:path";
import { getAgentDir } from "./config";
/**
* Migrate legacy oauth.json and settings.json apiKeys to auth.json.