Skip to content
Snippets Groups Projects

Update file ide_controller.rb

Closed Keeyan Nejad requested to merge knejad-test-gitlab-duo-code-review into master
1 unresolved thread

THIS IS A TEST MR. PLEASE IGNORE.

Testing an issue I came across with GitLab Duo Code Review

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
12 12 before_action do
13 13 push_frontend_feature_flag(:build_service_proxy)
14 14 push_frontend_feature_flag(:reject_unsigned_commits_by_gitlab)
15 do_smthing
  • The method do_smthing is called in the before_action block, but it's not defined until the end of the file. This could lead to a NoMethodError. Consider moving the method definition above its usage or removing it from the before_action if it's not necessary.

    Suggested change
    15 do_smthing
    15 # Remove this line if the method is not needed in before_action
  • Please register or sign in to reply
  • closed

  • Please register or sign in to reply
    Loading