mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user