Fix failure to resolve redirects

Fixes #32.
This commit is contained in:
Florine W. Dekker 2020-04-19 19:26:48 +02:00
parent 3b721c2532
commit 42d1cdae04
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "interlanguage-checker",
"version": "1.10.1",
"version": "1.10.2",
"description": "Check the consistency of MediaWiki interlanguage links in a simple overview.",
"author": "Felix W. Dekker",
"browser": "bundle.js",

View File

@ -579,7 +579,7 @@ export const discoverNetwork = async function (mwm, title, progressCb) {
// Follow redirects
if (!result.link.equals(next)) {
next = result;
next = result.link;
if (history.some(it => it.equals(next)))
continue;
else