12 lines
281 B
Ruby
12 lines
281 B
Ruby
# 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
|