mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge pull request #1418 from peol/patch-1
Regex matching filename 'composer.lock' fixed
This commit is contained in:
@@ -235,7 +235,7 @@ module Linguist
|
||||
#
|
||||
# Returns true or false.
|
||||
def composer_lock?
|
||||
!!name.match(/composer.lock/)
|
||||
!!name.match(/composer\.lock/)
|
||||
end
|
||||
|
||||
# Internal: Is the blob a generated by Zephir
|
||||
|
||||
Reference in New Issue
Block a user