Merge pull request #1418 from peol/patch-1

Regex matching filename 'composer.lock' fixed
This commit is contained in:
Arfon Smith
2014-08-15 14:23:07 -05:00

View File

@@ -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