Remove .script! hack

This commit is contained in:
Brandon Keepers
2014-11-28 16:49:40 -06:00
parent 745ce14d47
commit 8a42f76f03
36 changed files with 24 additions and 47 deletions

View File

@@ -541,7 +541,7 @@ module Linguist
if extnames = extensions[name]
extnames.each do |extname|
if !options['extensions'].index { |x| x.downcase.end_with? extname.downcase }
warn "#{name} has a sample with extension (#{extname.downcase}) that isn't explicitly defined in languages.yml" unless extname == '.script!'
warn "#{name} has a sample with extension (#{extname.downcase}) that isn't explicitly defined in languages.yml"
options['extensions'] << extname
end
end