mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 21:27:39 +02:00
api/cookie: reformat console.error in getCookie
This commit is contained in:
@ -103,8 +103,10 @@ export const setup = async (path) => {
|
||||
|
||||
export function getCookie(service) {
|
||||
if (!VALID_SERVICES.has(service)) {
|
||||
console.error(`${Red('[!]')} ${service} not in allowed services list for cookies.`
|
||||
+ ' if adding a new cookie type, include it there.');
|
||||
console.error(
|
||||
`${Red('[!]')} ${service} not in allowed services list for cookies.`
|
||||
+ ' if adding a new cookie type, include it there.'
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user