Class: Danger::DuoCode
- Inherits:
-
Plugin
- Object
- Plugin
- Danger::DuoCode
- Defined in:
- lib/danger/plugins/duo_code.rb
Overview
Contains method to check if Duo code suggestion added to MR as a reviewer.
Instance Method Summary collapse
Instance Method Details
#suggestion_added? ⇒ Boolean
6 7 8 9 10 |
# File 'lib/danger/plugins/duo_code.rb', line 6 def suggestion_added? return false unless helper.ci? helper.mr_reviewers.include?("GitLabDuo") end |