From 77dd8f7ec64991ba67e9bb8922cc68ace786ae0d Mon Sep 17 00:00:00 2001 From: Jon C Date: Tue, 26 Nov 2024 00:31:32 +0100 Subject: [PATCH] scripts: Force `verbose = true` (#57) #### 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. --- scripts/utils.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/utils.mjs b/scripts/utils.mjs index 44ee564c..e298a4c7 100644 --- a/scripts/utils.mjs +++ b/scripts/utils.mjs @@ -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';