diff --git a/rssfinder/finder.js b/rssfinder/finder.js index 209af75..aed4c89 100644 --- a/rssfinder/finder.js +++ b/rssfinder/finder.js @@ -34,7 +34,7 @@ for (link of links) { } } -if (links.length == 0) { +if (availableLinks.length == 0) { availableLinks.push({ title: 'No RSS feed was found', url: 'No URL is provided'