1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

code cleanup: rubocop: fix Style/NegatedIf in lib/redmine/scm/adapters/bazaar_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18511 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-09-24 05:13:35 +00:00
parent 5ff3ed914e
commit e5f22bd28a
2 changed files with 1 additions and 2 deletions

View File

@ -1348,7 +1348,6 @@ Style/NegatedIf:
- 'app/models/repository/cvs.rb'
- 'lib/diff.rb'
- 'lib/redmine/codeset_util.rb'
- 'lib/redmine/scm/adapters/bazaar_adapter.rb'
- 'lib/redmine/thumbnail.rb'
# Cop supports --auto-correct.

View File

@ -255,7 +255,7 @@ module Redmine
end
def append_revisions_only
return @aro if ! @aro.nil?
return @aro unless @aro.nil?
@aro = false
bcp = self.class.branch_conf_path(url)
if bcp && File.exist?(bcp)