Permalink
Browse files

Fixed typo in regex

  • Loading branch information...
1 parent 5145334 commit a1b9cdc75b994f9bcf82b5235684713caf721f1f @staabm staabm committed Feb 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 SensioLabs/Security/SecurityChecker.php
@@ -28,7 +28,7 @@ public function check($lock, $format = 'text')
if (is_dir($lock) && file_exists($lock.'/composer.lock')) {
$lock = $lock.'/composer.lock';
- } elseif (preg_match('/composer.json$/', $lock)) {
+ } elseif (preg_match('/composer\.json$/', $lock)) {
$lock = str_replace('composer.json', 'composer.lock', $lock);
}

0 comments on commit a1b9cdc

Please sign in to comment.