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:
Toshi MARUYAMA
2020-10-02 12:58:35 +00:00
parent 95ba0ea3c4
commit da3b237706

View File

@@ -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