code cleanup: rubocop: fix Style/RedundantBegin in lib/redmine/scm/adapters/git_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18626 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-10-08 14:09:40 +00:00
parent d5deee8af1
commit ae58969f64
2 changed files with 3 additions and 10 deletions

View File

@@ -70,11 +70,9 @@ module Redmine
end
def info
begin
Info.new(:root_url => url, :lastrev => lastrev('',nil))
rescue
nil
end
Info.new(:root_url => url, :lastrev => lastrev('',nil))
rescue
nil
end
def branches