mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Silence this warning
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user