diff --git a/lib/linguist/generated.rb b/lib/linguist/generated.rb index 974fc7ae..99863a91 100644 --- a/lib/linguist/generated.rb +++ b/lib/linguist/generated.rb @@ -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