mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Lower generated line limit to 500c
This commit is contained in:
@@ -173,8 +173,8 @@ module Linguist
|
||||
elsif generated_coffeescript?
|
||||
true
|
||||
elsif extname == '.js'
|
||||
# JS is minified if any lines are longer than 1000c
|
||||
lines.any? { |l| l.length > 1000 }
|
||||
# JS is minified if any lines are longer than 500c
|
||||
lines.any? { |l| l.length > 500 }
|
||||
else
|
||||
false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user