chore: prettier

This commit is contained in:
Percs 2024-10-15 02:09:19 -05:00
parent 520f3bb8bc
commit 3678965721
2 changed files with 9 additions and 4 deletions

View file

@ -51,8 +51,8 @@ export default {
}[severity]; }[severity];
fn( fn(
`%c${fmt}%c ${message}`, `%c${fmt}%c ${message}`,
` `
background-color: ${bg}; background-color: ${bg};
color: ${fg}; color: ${fg};
padding: ${padding}px; padding: ${padding}px;
@ -60,7 +60,9 @@ export default {
font-family: monospace; font-family: monospace;
font-size: 0.9em; font-size: 0.9em;
`, `,
`${severity === "debug" ? "color: gray" : ""}`, ...args); `${severity === "debug" ? "color: gray" : ""}`,
...args
);
}, },
log: function (message: string, ...args: any[]) { log: function (message: string, ...args: any[]) {
this.fmt("log", message, ...args); this.fmt("log", message, ...args);

View file

@ -53,7 +53,10 @@ export class CookieStore {
const id = `${cookie.domain}@${cookie.path}@${cookie.name}`; const id = `${cookie.domain}@${cookie.path}@${cookie.name}`;
this.cookies[id] = cookie; this.cookies[id] = cookie;
this.db.transaction("cookies", "readwrite").objectStore("cookies").put(this.cookies, "cookies"); this.db
.transaction("cookies", "readwrite")
.objectStore("cookies")
.put(this.cookies, "cookies");
} }
} }