mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-16 08:54:58 +02:00
fix semi colons
This commit is contained in:
parent
3ee9051bc1
commit
cbca88f76b
21 changed files with 261 additions and 261 deletions
|
@ -1,6 +1,6 @@
|
|||
export default function stoi(val: any) {
|
||||
if (typeof val === "string") {
|
||||
return parseInt(val)
|
||||
return parseInt(val);
|
||||
}
|
||||
else {
|
||||
return val;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue