summaryrefslogtreecommitdiff
path: root/app/workers/gitlab_shell_worker.rb
blob: 9766331cf4b03b736dd4cf7bef833e6377d7b413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class GitlabShellWorker
  include ApplicationWorker
  include Gitlab::ShellAdapter

  feature_category :source_code_management

  def perform(action, *arg)
    gitlab_shell.__send__(action, *arg) # rubocop:disable GitlabSecurity/PublicSend
  end
end