mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 13:27:31 -07:00
chore: 🎨 format
This commit is contained in:
parent
f9b3951c3a
commit
171cb1c210
1 changed files with 4 additions and 1 deletions
|
@ -42,7 +42,10 @@ export default define(meta, paramDef, async (ps) => {
|
||||||
.then((response) => response.json())
|
.then((response) => response.json())
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
const staticPatrons = JSON.parse(
|
const staticPatrons = JSON.parse(
|
||||||
fs.readFileSync(`${_dirname}/../../../../../../patrons.json`, "utf-8"),
|
fs.readFileSync(
|
||||||
|
`${_dirname}/../../../../../../patrons.json`,
|
||||||
|
"utf-8",
|
||||||
|
),
|
||||||
);
|
);
|
||||||
patrons = cachedPatrons ? JSON.parse(cachedPatrons) : staticPatrons;
|
patrons = cachedPatrons ? JSON.parse(cachedPatrons) : staticPatrons;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue