mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Merge pull request #184 from mamantoha/fix-crystal-nightly
fix Crystal nightly
This commit is contained in:
commit
270a003df6
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ module Ameba
|
|||
getter issues = [] of Issue
|
||||
|
||||
# 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)
|
||||
issues << Issue.new rule, location, end_location, message, status
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue