Skip to content

Commit

Permalink
Preserve colorization in output
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Jun 28, 2024
1 parent 1845b09 commit 7b9ceef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/verifyPatches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7b9ceef

Please sign in to comment.