diff options
author | Rémy Coutable <remy@rymai.me> | 2017-09-19 18:25:42 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-12-22 17:34:44 +0300 |
commit | a2d39b80109f006ff63752cfaed5e458f9443d1d (patch) | |
tree | cc5a0f06ba04448dbf025dd95a6e39686343d256 /rubocop/cop/migration/update_column_in_batches.rb | |
parent | 299e04e318728d4ee5857379f8fb350c944a0b4e (diff) |
Use gitlab-styles
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'rubocop/cop/migration/update_column_in_batches.rb')
-rw-r--r-- | rubocop/cop/migration/update_column_in_batches.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/migration/update_column_in_batches.rb b/rubocop/cop/migration/update_column_in_batches.rb index 3f886cbfea3..db2b5564297 100644 --- a/rubocop/cop/migration/update_column_in_batches.rb +++ b/rubocop/cop/migration/update_column_in_batches.rb @@ -18,7 +18,7 @@ module RuboCop spec_path = spec_filename(node) unless File.exist?(File.expand_path(spec_path, rails_root)) - add_offense(node, :expression, format(MSG, spec_path)) + add_offense(node, location: :expression, message: format(MSG, spec_path)) end end |