mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Fix incorrect Reportable#add_issue(&)
definition
This commit is contained in:
parent
7d88455b7f
commit
5ab4b05add
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ module Ameba
|
|||
|
||||
# :ditto:
|
||||
def add_issue(rule,
|
||||
location : Crystal::Location,
|
||||
end_location : Crystal::Location,
|
||||
location : Crystal::Location?,
|
||||
end_location : Crystal::Location?,
|
||||
message : String,
|
||||
status : Issue::Status? = nil,
|
||||
&block : Source::Corrector ->) : Issue
|
||||
|
|
Loading…
Reference in a new issue