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
Commit c00b656 ("(tests/validator) Improve build_configs verification")
added validation of the "tree" and "branch" attributes to the build_configs
property.
However, if a referenced tree is missing, the validation code will
terminate with an error as the variable used is not a dictionary but
a string type, and as such, the .get() method cannot be called.
Thus, fix which variables are referenced and the order of validation for
the "tree" and "branch" attributes to validate their presence within
a given tree object first.
While at it, update the accompanying code comment.
Signed-off-by: Krzysztof Wilczyński <[email protected]>
0 commit comments