diff options
author | Robert Speicher <robert@gitlab.com> | 2017-12-22 15:17:28 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-12-22 15:17:28 +0000 |
commit | 217d4a19f2af8e219971a3c616c69cc422f17d0c (patch) | |
tree | cc5a0f06ba04448dbf025dd95a6e39686343d256 /rubocop/cop/migration/hash_index.rb | |
parent | 299e04e318728d4ee5857379f8fb350c944a0b4e (diff) | |
parent | a2d39b80109f006ff63752cfaed5e458f9443d1d (diff) | |
download | gitlab-ce-217d4a19f2af8e219971a3c616c69cc422f17d0c.tar.gz |
Merge branch 'rc/use-gitlab-styles' into 'master'
Use gitlab-styles which provides shared RuboCop config and cops
Closes #37711
See merge request gitlab-org/gitlab-ce!14337
Diffstat (limited to 'rubocop/cop/migration/hash_index.rb')
-rw-r--r-- | rubocop/cop/migration/hash_index.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/migration/hash_index.rb b/rubocop/cop/migration/hash_index.rb index 2cc59691d84..3206b73bd3d 100644 --- a/rubocop/cop/migration/hash_index.rb +++ b/rubocop/cop/migration/hash_index.rb @@ -29,7 +29,7 @@ module RuboCop hash_key_name(pair) == :using if hash_key_value(pair).to_s == 'hash' - add_offense(pair, :expression) + add_offense(pair, location: :expression) end end end |