From 7b9ceefb246921a7b7a5b391a8e34976c4c1e208 Mon Sep 17 00:00:00 2001 From: rory Date: Fri, 28 Jun 2024 08:56:24 -0700 Subject: [PATCH] Preserve colorization in output --- scripts/verifyPatches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/verifyPatches.sh b/scripts/verifyPatches.sh index 32990e62a960..9665d31b7b99 100755 --- a/scripts/verifyPatches.sh +++ b/scripts/verifyPatches.sh @@ -5,7 +5,7 @@ source "$SCRIPTS_DIR/shellUtils.sh" # Run patch-package and capture its output and exit code TEMP_OUTPUT="$(mktemp)" -npx patch-package --error-on-fail 2>&1 | tee "$TEMP_OUTPUT" +script -q /dev/null npx patch-package --error-on-fail 2>&1 | tee "$TEMP_OUTPUT" EXIT_CODE=${PIPESTATUS[0]} OUTPUT="$(cat "$TEMP_OUTPUT")" rm -f "$TEMP_OUTPUT"