Silence this warning

This commit is contained in:
Ted Nyman
2013-07-07 15:26:29 -07:00
parent 29f5ea591f
commit 7fbfe0a4b4

View File

@@ -446,7 +446,6 @@ module Linguist
if !options['extensions'].include?(extname) if !options['extensions'].include?(extname)
options['extensions'] << extname options['extensions'] << extname
else else
warn "#{name} #{extname.inspect} is already defined in samples/. Remove from languages.yml."
end end
end end
end end
@@ -456,7 +455,6 @@ module Linguist
if !options['filenames'].include?(filename) if !options['filenames'].include?(filename)
options['filenames'] << filename options['filenames'] << filename
else else
warn "#{name} #{filename.inspect} is already defined in samples/. Remove from languages.yml."
end end
end end
end end