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,7 +64,9 @@ const print = (fn: any, data: any[]) => {
message = message + ` [identityId=${identityId}]`
}
fn(message, data)
if (!process.env.CI) {
fn(message, data)
}
}
const logging = (ctx: any, next: any) => {