Skip to content

Commit

Permalink
chore: update progress display format in gh_query function
Browse files Browse the repository at this point in the history
  • Loading branch information
LangLangBart committed Dec 20, 2023
1 parent 658a778 commit d747f64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gh-find-code
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@ gh_query() {
patterns="__NoPatternFound__"
fi

curl_custom "transform-header:printf '%b%s of %s collected...%b' '$DARK_GRAY' \
'$index' '$((total_count > gh_user_limit ? gh_user_limit : total_count))' '$COLOR_RESET'"
curl_custom "transform-header:printf '%b%s/%s of %s collected...%b' '$DARK_GRAY' \
'$index' '$gh_user_limit' '$total_count' '$COLOR_RESET'"

if $debug_mode; then
redirect_location="${store_grep_extended_debug}_${index}"
Expand Down

0 comments on commit d747f64

Please sign in to comment.