Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6523ba86
Commit
6523ba86
authored
Aug 31, 2021
by
Kerri Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update formatting of comment for line-length
parent
91036d0b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ee/app/models/approval_merge_request_rule.rb
ee/app/models/approval_merge_request_rule.rb
+3
-1
No files found.
ee/app/models/approval_merge_request_rule.rb
View file @
6523ba86
...
@@ -119,7 +119,9 @@ class ApprovalMergeRequestRule < ApplicationRecord
...
@@ -119,7 +119,9 @@ class ApprovalMergeRequestRule < ApplicationRecord
end
end
def
sync_approved_approvers
def
sync_approved_approvers
# Before being merged, approved_approvers are dynamically calculated in ApprovalWrappedRule instead of being persisted.
# Before being merged, approved_approvers are dynamically calculated in
# ApprovalWrappedRule instead of being persisted.
#
return
unless
merge_request
.
merged?
return
unless
merge_request
.
merged?
approvers
=
ApprovalWrappedRule
.
wrap
(
merge_request
,
self
).
approved_approvers
approvers
=
ApprovalWrappedRule
.
wrap
(
merge_request
,
self
).
approved_approvers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment