Skip to content

Commit 5bf59fb

Browse files
committed
Adjust style of variable references to match existing code
1 parent c699fc9 commit 5bf59fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev_tools/ci/size-labeler.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ function jq_file() {
7979
}
8080

8181
function api_call() {
82+
set -x
8283
local -r endpoint="${1// /%20}" # love that our label names have spaces...
8384
local -r uri="https://api.github.com/repos/${GITHUB_REPOSITORY}"
8485
local -r url="${uri}/${endpoint}"
@@ -97,10 +98,10 @@ function api_call() {
9798
set -e
9899
if [[ $exit_status -ne 0 ]]; then
99100
error "GitHub API call failed (curl exit $exit_status) for ${url}"
100-
cat "$response_body"
101+
cat "${response_body}"
101102
exit $exit_status
102103
fi
103-
echo "$response_body"
104+
echo "${response_body}"
104105
}
105106

106107
function compute_changes() {

0 commit comments

Comments
 (0)