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/add_timestamps.rb | |
parent | 299e04e318728d4ee5857379f8fb350c944a0b4e (diff) |
Use gitlab-styles
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'rubocop/cop/migration/add_timestamps.rb')
-rw-r--r-- | rubocop/cop/migration/add_timestamps.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/migration/add_timestamps.rb b/rubocop/cop/migration/add_timestamps.rb index 08ddd91e54d..ba32d6a9960 100644 --- a/rubocop/cop/migration/add_timestamps.rb +++ b/rubocop/cop/migration/add_timestamps.rb @@ -13,7 +13,7 @@ module RuboCop def on_send(node) return unless in_migration?(node) - add_offense(node, :selector) if method_name(node) == :add_timestamps + add_offense(node, location: :selector) if method_name(node) == :add_timestamps end def method_name(node) |