Skip to content

Commit

Permalink
scripts: Force verbose = true (#57)
Browse files Browse the repository at this point in the history
#### Problem

zx v8 suppresses output from subcommands, as outlined in the migration
[guide](https://google.github.io/zx/migration-from-v7#migration-from-v7-to-v8).
This makes it challenging to debug issues during CI or local runs.

#### Summary of changes

Set `$.verbose = true` via the utils script so that all jobs become
verbose.
  • Loading branch information
joncinque authored Nov 25, 2024
1 parent 15241e9 commit 77dd8f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/utils.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'zx/globals';
import { parse as parseToml } from '@iarna/toml';

$.verbose = true;
process.env.FORCE_COLOR = 3;
process.env.CARGO_TERM_COLOR = 'always';

Expand Down

0 comments on commit 77dd8f7

Please sign in to comment.