Fix unused catch bindings

This commit is contained in:
Matt Isenhower
2026-08-18 23:31:17 -07:00
parent 32940cbe95
commit e5a7c44ac1
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ export default class ValueCache
let data = await fs.readFile(this.path);
return JSON.parse(data);
} catch (e) {
} catch {
return null;
}
}

View File

@@ -28,7 +28,7 @@ const locales = {
async function readFile(file) {
try {
return JSON.parse(await fs.readFile(file));
} catch (e) {
} catch {
return {};
}
}