Skip to content

Commit

Permalink
Fix wrong if statement in readme (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
bezin authored Feb 2, 2024
1 parent 2585a08 commit 3d73147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ class MyWebCrawler implements SubscriberInterface, EscargotAwareInterface
}

// Skip links that do not belong to our BaseUriCollection
if ($this->escargot->getBaseUris()->containsHost($crawlUri->getUri()->getHost())) {
if (!$this->escargot->getBaseUris()->containsHost($crawlUri->getUri()->getHost())) {
return SubscriberInterface::DECISION_NEGATIVE;
}

Expand Down

0 comments on commit 3d73147

Please sign in to comment.