shared_audits: fix conditional in Bitbucket notability check
This check currently returns an error for repositories that are notable enough (and passes on repositories that are not notable enough).
This commit is contained in:
		
							parent
							
								
									7a3c43e3cd
								
							
						
					
					
						commit
						534f0e61e3
					
				@ -168,7 +168,7 @@ module SharedAudits
 | 
			
		||||
    watcher_metadata = JSON.parse(watcher_out)
 | 
			
		||||
    return if watcher_metadata.nil?
 | 
			
		||||
 | 
			
		||||
    return if (forks_metadata["size"] < 30) && (watcher_metadata["size"] < 75)
 | 
			
		||||
    return if forks_metadata["size"] >= 30 || watcher_metadata["size"] >= 75
 | 
			
		||||
 | 
			
		||||
    "Bitbucket repository not notable enough (<30 forks and <75 watchers)"
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user