Don't log on CI

This commit is contained in:
Adria Navarro 2023-02-04 21:04:40 +00:00
parent b2bdd00a6b
commit 95ada723ce
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}]` message = message + ` [identityId=${identityId}]`
} }
fn(message, data) if (!process.env.CI) {
fn(message, data)
}
} }
const logging = (ctx: any, next: any) => { const logging = (ctx: any, next: any) => {