fix: resolve build errors

This commit is contained in:
Peter Steinberger committed 2025-12-23 03:00:04 +01:00
1 parent 183270b443
commit 279500cba4
5 files changed
+51 -7

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ function isRecord(value: unknown): value is Record<string, unknown> {
return Boolean(value && typeof value === "object" && !Array.isArray(value));
}
async function readJson(pathname: string): Promise<unknown | null> {
async function readJson(pathname: string): Promise<unknown> {
try {
const raw = await fs.readFile(pathname, "utf8");
return JSON.parse(raw) as unknown;