Fix the script
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
aafdf3d093
commit
a26a2160ae
@ -13,7 +13,7 @@ exclusions=(
|
||||
)
|
||||
|
||||
gh_api_next() {
|
||||
links=$(grep '^Link:' | sed -e 's/Link: //' -e 's/, /\n/g')
|
||||
links=$(grep '^link:' | sed -e 's/link: //' -e 's/, /\n/g')
|
||||
echo "$links" | grep '; rel="next"' >/dev/null || return
|
||||
link=$(echo "$links" | grep '; rel="next"' | sed -e 's/^<//' -e 's/>.*//')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user