mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-08-28 11:34:17 -05:00
Fix unused catch bindings
This commit is contained in:
@@ -16,7 +16,7 @@ export default class ValueCache
|
||||
let data = await fs.readFile(this.path);
|
||||
|
||||
return JSON.parse(data);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ const locales = {
|
||||
async function readFile(file) {
|
||||
try {
|
||||
return JSON.parse(await fs.readFile(file));
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user