File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -389,9 +389,10 @@ def exec_with_timeout(cmd, timeout)
389389 results [ committee . name ] = parse ( committee . name , committee . site , committee . display_name )
390390 results [ committee . name ] [ 'nonpmc' ] = committee . nonpmc?
391391 sites_checked += 1
392- sites_failed += 1 unless results [ committee . name ] [ :resources ] . start_with? 'Found'
392+ sites_failed += 1 unless results [ committee . name ] [ :resources ] & .start_with? 'Found'
393393 # Don't keep checking unnecessarily
394- $skipresourcecheck = ( sites_failed > 10 or ( sites_failed > 3 and sites_failed == sites_checked ) )
394+ # (and don't set false if already true)
395+ $skipresourcecheck = ( $skipresourcecheck or sites_failed > 10 or ( sites_failed > 3 and sites_failed == sites_checked ) )
395396 end
396397
397398 # Scan podlings that have a website
You can’t perform that action at this time.
0 commit comments