Skip to content

Commit 9ef626b

Browse files
committed
chore: fix incorrect fix of ShellCheck violation
Correction for e5b1072 commit. Part of #1610
1 parent d40f5ac commit 9ef626b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/main/scripts/ci/connect-todos-to-issues.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ while IFS=$'\t' read -r PUZZLE_ID UNUSED_TICKET TITLE UNUSED_REST; do
133133
# 2) For each puzzle id we have to make 2 search requests instead of one because there is no possibility to use logical OR
134134
# (body contains OR title equals) in a search query. As result, we might get "HTTP 403: API rate limit exceeded" error more often
135135
# if we have a lot of issues to process or we re-run the script frequently.
136-
JSON="$(echo -e "$SEARCH_BY_BODY\n$SEARCH_BY_TITLE" | sed -e 's|\\n| |g' -e 's|\\r||g' -e 's|`||g' | jq --slurp 'add | unique_by(.number)')"
136+
JSON="$(echo "$SEARCH_BY_BODY$SEARCH_BY_TITLE" | sed -e 's|\\n| |g' -e 's|\\r||g' -e 's|`||g' | jq --slurp 'add | unique_by(.number)')"
137137
ISSUES_COUNT="$(echo "$JSON" | jq '. | length')"
138138
debug "$PUZZLE_ID: found $ISSUES_COUNT issue(s) overall"
139139
debug "$PUZZLE_ID: result=$JSON"

0 commit comments

Comments
 (0)