Commit 933afd4e authored by Rajendra Kadam's avatar Rajendra Kadam Committed by Peter Leitzen

Move prepend in commit status presenter to last line

parent 9d0e91a0
...@@ -26,8 +26,6 @@ class CommitStatusPresenter < Gitlab::View::Presenter::Delegated ...@@ -26,8 +26,6 @@ class CommitStatusPresenter < Gitlab::View::Presenter::Delegated
presents :build presents :build
prepend_if_ee('::EE::CommitStatusPresenter') # rubocop: disable Cop/InjectEnterpriseEditionModule
def self.callout_failure_messages def self.callout_failure_messages
CALLOUT_FAILURE_MESSAGES CALLOUT_FAILURE_MESSAGES
end end
...@@ -44,3 +42,5 @@ class CommitStatusPresenter < Gitlab::View::Presenter::Delegated ...@@ -44,3 +42,5 @@ class CommitStatusPresenter < Gitlab::View::Presenter::Delegated
script_failure? || missing_dependency_failure? || archived_failure? || scheduler_failure? || data_integrity_failure? script_failure? || missing_dependency_failure? || archived_failure? || scheduler_failure? || data_integrity_failure?
end end
end end
CommitStatusPresenter.prepend_if_ee('::EE::CommitStatusPresenter')
---
title: Move prepend to last line in commit status presenter
merge_request: 29328
author: Rajendra Kadam
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment