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:
		
							parent
							
								
									6d41beba57
								
							
						
					
					
						commit
						4958fa2315
					
				
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue