mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 23:11:40 +08:00
[hotfix] Bazel candidates not found due to raising too early
This commit is contained in:
@@ -192,7 +192,6 @@ def bazel_invoke(invoker, cmdline, *args, **kwargs):
|
||||
result = invoker([cmd] + cmdline, *args, **kwargs)
|
||||
break
|
||||
except IOError:
|
||||
raise
|
||||
if i >= len(candidates) - 1:
|
||||
raise
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user