You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): do not crash if file in repo root is modified
by unconditionally grabbing the second part of the path of a modified
file in `run_all_tests()`, we ended up indexing out of bounds if a
modified file does not _have_ a second component in its path (e.g. if
the file is at the repository root, like `Cargo.lock`). Fix this by
checking for the length of x.parts first, and using python's
short-circuiting behavior of logical operators.
Signed-off-by: Patrick Roy <[email protected]>
0 commit comments