cask/audit: format-check block URLs only if online
This commit is contained in:
		
							parent
							
								
									98094739c6
								
							
						
					
					
						commit
						686638b683
					
				@ -311,6 +311,7 @@ module Cask
 | 
			
		||||
    sig { void }
 | 
			
		||||
    def audit_download_url_format
 | 
			
		||||
      return unless cask.url
 | 
			
		||||
      return if block_url_offline?
 | 
			
		||||
 | 
			
		||||
      odebug "Auditing URL format"
 | 
			
		||||
      if bad_sourceforge_url?
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user