Don't fail if GitHub repo homepage is not present
This commit is contained in:
		
							parent
							
								
									458c126929
								
							
						
					
					
						commit
						59b441e718
					
				@ -93,7 +93,7 @@ module Homebrew
 | 
			
		||||
 | 
			
		||||
        if @github
 | 
			
		||||
          @desc = @github["description"]
 | 
			
		||||
          @homepage = if @github["homepage"].empty?
 | 
			
		||||
          @homepage = if @github["homepage"].to_s.empty?
 | 
			
		||||
            "https://github.com/#{@github["full_name"]}"
 | 
			
		||||
          else
 | 
			
		||||
            @github["homepage"]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user