Skip to content

Commit

Permalink
dont warn about missing optional env vars in CI (its too verbose)
Browse files Browse the repository at this point in the history
  • Loading branch information
gobengo committed Mar 19, 2024
1 parent 1565762 commit 972a5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
}
}
Expand Down

0 comments on commit 972a5bd

Please sign in to comment.