Skip to content

Commit

Permalink
Fixes #144
Browse files Browse the repository at this point in the history
  • Loading branch information
steverobbins committed May 19, 2017
1 parent 18ba5b6 commit 1c6aa79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MageScan/Check/Sitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function getSitemapFromRobotsTxt(Response $response)
{
return $this->getRequest()->findMatchInResponse(
$response->getBody()->getContents(),
'/^(?!#+)\s*Sitemap: (.*)$/mi'
'/^(?!#+)\s*Sitemap:\w+(.*)$/mi'
);
}
}
2 changes: 1 addition & 1 deletion src/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
use MageScan\Command\SelfUpdateCommand;
use Symfony\Component\Console\Application;

$app = new Application('Mage Scan', '1.12.5');
$app = new Application('Mage Scan', '1.12.6');

$app->add(new AllCommand);
$app->add(new VersionCommand);
Expand Down

0 comments on commit 1c6aa79

Please sign in to comment.