Skip to content

Commit e93888a

Browse files
committed
better generating next url
1 parent bb70acf commit e93888a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Utils {
2626
* @param {string} link link url returned from gitlab api response
2727
*/
2828
static generateNextLink(link) {
29-
return link.replace("<http", "http").replace(`>; rel="next"`, "");
29+
return link.replace("<", "").replace(`>; rel="next"`, "");
3030
}
3131

3232
constructor(bar, scriptOptions) {

0 commit comments

Comments
 (0)