Skip to content

Fix delegate predicate method offence in project

Tan Le requested to merge tle-delegate-predicate-method-project into master

What does this MR do and why?

Remove delegate predicate method offence in app/models/project.rb.

Contributes to #324629 (closed)

How to set up and validate locally

REVEAL_RUBOCOP_TODO=1 bundle exec rubocop --only Gitlab/DelegatePredicateMethods --parallel

# Before
26618 files inspected, 17 offenses detected

# After
26618 files inspected, 10 offenses detected

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Tan Le

Merge request reports