fix semi colons

This commit is contained in:
Thijs van Loef 2025-06-09 23:52:16 +02:00
parent 3ee9051bc1
commit cbca88f76b
21 changed files with 261 additions and 261 deletions

View file

@ -1,6 +1,6 @@
export default function stoi(val: any) {
if (typeof val === "string") {
return parseInt(val)
return parseInt(val);
}
else {
return val;

View file

@ -34,7 +34,7 @@ export async function logout(
try {
await invalidateSession(session.sessionId);
} catch (error) {
logger.error("Failed to invalidate session", error)
logger.error("Failed to invalidate session", error);
}
const isSecure = req.protocol === "https";

View file

@ -44,8 +44,8 @@ export default async function migration() {
const updatedYaml = yaml.dump(rawConfig);
fs.writeFileSync(filePath, updatedYaml, "utf8");
} catch (error) {
console.log("We were unable to add CORS to your config file. Please add it manually.")
console.error(error)
console.log("We were unable to add CORS to your config file. Please add it manually.");
console.error(error);
}
console.log("Done.");