From 86329a075864744443d5335c68d98b23656a2e99 Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Tue, 3 Dec 2013 17:21:43 +0100 Subject: [PATCH] Forgot parantheses --- lib/linguist/generated.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/linguist/generated.rb b/lib/linguist/generated.rb index 41937ff3..93931f06 100644 --- a/lib/linguist/generated.rb +++ b/lib/linguist/generated.rb @@ -179,9 +179,9 @@ module Linguist # names don't contain numbers. So look if the line contains digits. Also # look for some special cases without version numbers. return creator =~ /[0-9]/ || - creator.include? "mpage" || - creator.include? "draw" || - creator.include? "ImageMagick" + creator.include?("mpage") || + creator.include?("draw") || + creator.include?("ImageMagick") end # Internal: Is the blob a C++, Java or Python source file generated by the