From da3b237706be1a718513c3dce978546beca98863 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 2 Oct 2020 12:58:35 +0000 Subject: [PATCH] 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 --- lib/redmine/scm/adapters/abstract_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index 3d3f50442..dcdcbdfa6 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -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 -- 2.39.5