Fix usage of deprecated methods

This commit is contained in:
Sijawusz Pur Rahnama 2023-11-14 03:35:52 +01:00
parent 11bf9ffcdc
commit a8b8c35cc7
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ module Ameba::Rule
# Adds an issue to the *source*
macro issue_for(*args, **kwargs, &block)
source.add_issue(self, {{ *args }}, {{ **kwargs }}) {{ block }}
source.add_issue(self, {{ args.splat }}, {{ kwargs.double_splat }}) {{ block }}
end
protected def self.rule_name