Skip to content

Commit

Permalink
api/cookie: reformat console.error in getCookie
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmoron committed Nov 26, 2024
1 parent 58edad5 commit 55c97f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/src/processing/cookie/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 55c97f7

Please sign in to comment.