more lint fixes

This commit is contained in:
Boki 2025-06-20 09:10:57 -04:00
parent 3e545cdaa9
commit 67c073e4f2
7 changed files with 29 additions and 15 deletions

View file

@ -43,7 +43,7 @@ export class FileLoader implements ConfigLoader {
try {
const content = await readFile(filepath, 'utf-8');
return JSON.parse(content);
} catch (error: any) {
} catch (error: unknown) {
// File not found is not an error (configs are optional)
if (error.code === 'ENOENT') {
return null;