mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 23:11:12 +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:
parent
5ff3ed914e
commit
e5f22bd28a
@ -1348,7 +1348,6 @@ Style/NegatedIf:
|
|||||||
- 'app/models/repository/cvs.rb'
|
- 'app/models/repository/cvs.rb'
|
||||||
- 'lib/diff.rb'
|
- 'lib/diff.rb'
|
||||||
- 'lib/redmine/codeset_util.rb'
|
- 'lib/redmine/codeset_util.rb'
|
||||||
- 'lib/redmine/scm/adapters/bazaar_adapter.rb'
|
|
||||||
- 'lib/redmine/thumbnail.rb'
|
- 'lib/redmine/thumbnail.rb'
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
|
|||||||
@ -255,7 +255,7 @@ module Redmine
|
|||||||
end
|
end
|
||||||
|
|
||||||
def append_revisions_only
|
def append_revisions_only
|
||||||
return @aro if ! @aro.nil?
|
return @aro unless @aro.nil?
|
||||||
@aro = false
|
@aro = false
|
||||||
bcp = self.class.branch_conf_path(url)
|
bcp = self.class.branch_conf_path(url)
|
||||||
if bcp && File.exist?(bcp)
|
if bcp && File.exist?(bcp)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user