Skip to content

Commit

Permalink
fix: fix nextPageToken regexp in list-all, #70 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbocinec committed Nov 14, 2022
1 parent 9d7ff92 commit 335b3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/list-all
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function list_all() {
local list=""
while "${more}"; do
res=$(fetch "${nextPageToken}")
if [[ "${res}" =~ nextPageToken\"\:\ \"([a-zA-Z0-9]+)\" ]]; then
if [[ "${res}" =~ nextPageToken\"\:\ \"([a-zA-Z0-9=]+)\" ]]; then
nextPageToken="${BASH_REMATCH[1]}"
else
more=false
Expand Down

0 comments on commit 335b3ff

Please sign in to comment.