File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ while IFS=$'\t' read -r PUZZLE_ID UNUSED_TICKET TITLE UNUSED_REST; do
133
133
# 2) For each puzzle id we have to make 2 search requests instead of one because there is no possibility to use logical OR
134
134
# (body contains OR title equals) in a search query. As result, we might get "HTTP 403: API rate limit exceeded" error more often
135
135
# 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)' ) "
137
137
ISSUES_COUNT=" $( echo " $JSON " | jq ' . | length' ) "
138
138
debug " $PUZZLE_ID : found $ISSUES_COUNT issue(s) overall"
139
139
debug " $PUZZLE_ID : result=$JSON "
You can’t perform that action at this time.
0 commit comments