We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b034e4d commit 78786b3Copy full SHA for 78786b3
lib/src/Gren.js
@@ -312,7 +312,7 @@ class Gren {
312
});
313
const totalPages = this._getLastPage(link);
314
315
- if ((this.options.tags.indexOf('all') >= 0 || filteredTags < 2) && totalPages && +page < totalPages) {
+ if ((this.options.tags.indexOf('all') >= 0 || filteredTags.length < 2) && totalPages && +page < totalPages) {
316
return this._getLastTags(releases, page + 1).then(moreTags => moreTags.concat(filteredTags));
317
}
318
0 commit comments