Don't log on CI

This commit is contained in:
Adria Navarro 2023-02-04 21:04:40 +00:00
parent 9703564283
commit 6ac57d424c
1 changed files with 3 additions and 1 deletions

View File

@ -64,8 +64,10 @@ const print = (fn: any, data: any[]) => {
message = message + ` [identityId=${identityId}]` message = message + ` [identityId=${identityId}]`
} }
if (!process.env.CI) {
fn(message, data) fn(message, data)
} }
}
const logging = (ctx: any, next: any) => { const logging = (ctx: any, next: any) => {
// use the provided correlation id header if present // use the provided correlation id header if present