mirror of
https://github.com/redmine/redmine.git
synced 2026-01-18 21:43:01 +01: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:
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user