mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-08 00:21:31 +00:00
remove space inside parentheses from lib/redmine/scm/adapters/abstract_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20100 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
95ba0ea3c4
commit
da3b237706
@ -430,7 +430,7 @@ module Redmine
|
||||
module ScmData
|
||||
def self.binary?(data)
|
||||
unless data.empty?
|
||||
data.count( "^ -~", "^\r\n" ).fdiv(data.size) > 0.3 || data.index( "\x00" )
|
||||
data.count("^ -~", "^\r\n").fdiv(data.size) > 0.3 || data.index("\x00")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user