mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
fix Crystal nightly
This commit is contained in:
parent
bedf3a68d7
commit
6f0f8352f9
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ module Ameba
|
||||||
getter issues = [] of Issue
|
getter issues = [] of Issue
|
||||||
|
|
||||||
# Adds a new issue to the list of issues.
|
# Adds a new issue to the list of issues.
|
||||||
def add_issue(rule, location, end_location, message, status = nil)
|
def add_issue(rule, location : Crystal::Location?, end_location : Crystal::Location?, message, status = nil)
|
||||||
status ||= :disabled if location_disabled?(location, rule)
|
status ||= :disabled if location_disabled?(location, rule)
|
||||||
issues << Issue.new rule, location, end_location, message, status
|
issues << Issue.new rule, location, end_location, message, status
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue