mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-22 18:56:21 +01:00
api/cookie: reformat console.error in getCookie
This commit is contained in:
parent
58edad553e
commit
55c97f77b8
1 changed files with 4 additions and 2 deletions
|
@ -103,8 +103,10 @@ export const setup = async (path) => {
|
||||||
|
|
||||||
export function getCookie(service) {
|
export function getCookie(service) {
|
||||||
if (!VALID_SERVICES.has(service)) {
|
if (!VALID_SERVICES.has(service)) {
|
||||||
console.error(`${Red('[!]')} ${service} not in allowed services list for cookies.`
|
console.error(
|
||||||
+ ' if adding a new cookie type, include it there.');
|
`${Red('[!]')} ${service} not in allowed services list for cookies.`
|
||||||
|
+ ' if adding a new cookie type, include it there.'
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue