Skip to content

Commit

Permalink
chore: less local output (#2046)
Browse files Browse the repository at this point in the history
Output only when `VERBOSE` is set explicitly or on CI
  • Loading branch information
Lightning00Blade committed Mar 21, 2024
1 parent 62d58a9 commit df62cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bidi-server.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function createBiDiServerProcess() {
`Starting ${CHROMEDRIVER ? 'ChromeDriver' : 'Mapper'} with DEBUG='${DEBUG}'...`
);

if (VERBOSE) {
if (process.env.VERBOSE === 'true' || process.env.CI) {
log(`Environment variables:`, runParams.options);
log(
`Command: ${runParams.file} ${runParams.args.map((a) => (a.indexOf(' ') < 0 ? a : a.replaceAll(' ', '\\ '))).join(' ')}`
Expand Down

0 comments on commit df62cb5

Please sign in to comment.