Skip to content

Commit

Permalink
revert: "feat: Temporary workaround for cli/cli#9160"
Browse files Browse the repository at this point in the history
This reverts commit 8eb0663.

The gh-cli issue has been fixed.
  • Loading branch information
Frederick888 committed Aug 15, 2024
1 parent 0dcbd0d commit 2636ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh-ph
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function gh_template() {
local format="$1"
if [[ -z "$GH_TEMPLATE_CACHE" ]]; then
local fields
fields="$(set -eo pipefail; (gh pr view --json 2>&1 || true) | tail -n+2 | tr -d ' ' | grep -v stateReason | paste -d, -s -)"
fields="$(set -eo pipefail; (gh pr view --json 2>&1 || true) | tail -n+2 | tr -d ' ' | paste -d, -s -)"
GH_TEMPLATE_CACHE="$(set -eo pipefail; gh pr view "$GH_PH_PULL_REQUEST_ID" --json "$fields" --template "$format")"
fi
printf '%s' "$GH_TEMPLATE_CACHE"
Expand Down

0 comments on commit 2636ae2

Please sign in to comment.