diff options
author | Patrick Bajao <ebajao@gitlab.com> | 2019-03-01 04:25:32 +0300 |
---|---|---|
committer | Patrick Bajao <ebajao@gitlab.com> | 2019-03-01 04:25:45 +0300 |
commit | df05aefc04fb9f92367146c780bda755699a86c7 (patch) | |
tree | db79fa7bca23d6f378a8307624dc762758cd9ed6 | |
parent | d097a65188de806dc8af27537f8c943f2a1ed36a (diff) |
Disable ParameterLists cop for #multi_action
See https://gitlab.com/gitlab-org/gitlab-ce/issues/58002
for more info.
-rw-r--r-- | ruby/lib/gitlab/git/repository.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby/lib/gitlab/git/repository.rb b/ruby/lib/gitlab/git/repository.rb index e72315f25..6f4bd9910 100644 --- a/ruby/lib/gitlab/git/repository.rb +++ b/ruby/lib/gitlab/git/repository.rb @@ -537,6 +537,7 @@ module Gitlab end end + # rubocop:disable Metrics/ParameterLists def multi_action( user, branch_name:, message:, actions:, author_email: nil, author_name: nil, @@ -573,6 +574,7 @@ module Gitlab create_commit(options) end end + # rubocop:enable Metrics/ParameterLists def with_repo_branch_commit(start_repository, start_branch_name) Gitlab::Git.check_namespace!(start_repository) |