From 972a5bdb52907a36d2fb6a3477f30b12f94fe290 Mon Sep 17 00:00:00 2001 From: bengo <171782+gobengo@users.noreply.github.com> Date: Tue, 19 Mar 2024 15:40:19 -0700 Subject: [PATCH] dont warn about missing optional env vars in CI (its too verbose) --- packages/api/src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/config.js b/packages/api/src/config.js index f7ecc3d086..1f90912bad 100644 --- a/packages/api/src/config.js +++ b/packages/api/src/config.js @@ -136,7 +136,7 @@ export function loadConfigVariables() { if (typeof val === 'string') { vars[name] = val } else { - if (globals.DEBUG === 'true') { + if (globals.DEBUG === 'true' && !globals.CI) { console.warn(`Missing optional config variables: ${name}`) } }