Exporteed getConfigDir.
All checks were successful
build / build (push) Successful in 7s

This commit is contained in:
2026-03-07 15:26:38 +01:00
parent 4dac95e081
commit f5877d2ccd
4 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import { readFile } from "node:fs/promises";
import os from "node:os";
import path from "node:path";
function getConfigDir(moduleName: string): string {
export function getConfigDir(moduleName: string): string {
if (process.platform === "win32") {
return path.join(process.env.LOCALAPPDATA ?? path.join(os.homedir(), "AppData", "Local"), moduleName);
}

View File

@@ -9,4 +9,4 @@ export {
readCsvFromStdin,
renderOutput,
} from "./cli/utils.ts";
export { getConfig } from "./config/index.ts";
export { getConfigDir, getConfig } from "./config/index.ts";