Commit e4d62acc authored by Jonathon Reinhart's avatar Jonathon Reinhart

Disable rubocop for old (<2.2) hash syntax

See the discussion on gitlab-org/gitlab-shell!166
parent d14bcd1c
......@@ -124,7 +124,7 @@ class GitlabNet # rubocop:disable Metrics/ClassLength
gl_repository: gl_repository,
identifier: identifier,
changes: changes,
:"push_options[]" => push_options, # ruby <2.2 syntax
:"push_options[]" => push_options, # rubocop:disable Style/HashSyntax
}
resp = post("#{internal_api_endpoint}/post_receive", params)
......
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