Commit cf01934c authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'slash_commands_double_run' into 'master'

Remove slack slash commands `run` double up

Closes #10856

See merge request gitlab-org/gitlab-ee!10555
parents 57209db5 c28b1c3e
---
title: Remove slack slash commands double up
merge_request: 10555
author:
type: fixed
# frozen_string_literal: true
module EE
module Gitlab
module SlashCommands
module Command
extend ActiveSupport::Concern
class_methods do
extend ::Gitlab::Utils::Override
override :commands
def commands
super.concat(
[
::Gitlab::SlashCommands::Run
]
)
end
end
end
end
end
end
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
module Gitlab module Gitlab
module SlashCommands module SlashCommands
class Command < BaseCommand class Command < BaseCommand
prepend EE::Gitlab::SlashCommands::Command # rubocop: disable Cop/InjectEnterpriseEditionModule
def self.commands def self.commands
[ [
Gitlab::SlashCommands::IssueShow, Gitlab::SlashCommands::IssueShow,
......
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