don't fail on errors in initial branches method

This commit is contained in:
Frédéric Péters 2015-06-13 12:34:40 +02:00
parent 59e9519c90
commit e467f0bba9
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ module Redmine
def branches(*args)
all_branches = branches_original(*args)
return [] if !all_branches
all_branches.find_all { |b| !b.start_with?("wip/") }
end
end