Skip to content
代码片段 群组 项目
未验证 提交 f7c319bd 编辑于 作者: Alexandru Croitor's avatar Alexandru Croitor
浏览文件

Sort related epic links before checking them

上级 94f3fcb0
No related branches found
No related tags found
无相关合并请求
......@@ -136,7 +136,7 @@ def check_related_epic_links
related_epic_issue_ids = related_epic_issues.map(&:issue_id)
related_work_item_ids = work_item.related_issues(authorize: false).filter(&:epic_work_item?).map(&:id)
return if related_work_item_ids == related_epic_issue_ids
return if related_work_item_ids.sort == related_epic_issue_ids.sort
mismatched_attributes.push("related_links")
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册