dependency_collector: use ArgumentError exception.
Avoids errors with `brew versions` when bottling. References Homebrew/homebrew#27615.
This commit is contained in:
		
							parent
							
								
									3b0eef09e9
								
							
						
					
					
						commit
						c34ed98eaf
					
				| @ -123,7 +123,7 @@ class DependencyCollector | ||||
|     when :ld64       then LD64Dependency.new if MacOS.version < :leopard | ||||
|     when :ant        then ant_dep(spec, tags) | ||||
|     else | ||||
|       raise "Unsupported special dependency #{spec.inspect}" | ||||
|       raise ArgumentError, "Unsupported special dependency #{spec.inspect}" | ||||
|     end | ||||
|   end | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Mike McQuaid
						Mike McQuaid