Fix linter error not properly being caught by level 5 definition

This commit is contained in:
Alexandre Aubin 2021-12-02 15:25:16 +01:00
parent 24aa67e1c5
commit f1ede681b0

View file

@ -130,7 +130,7 @@ def level_5(tests):
return not alias_traversal_detected \ return not alias_traversal_detected \
and linter_tests != [] \ and linter_tests != [] \
and linter_tests[0]["results"]["main_result"] == "success" and linter_tests[0]["results"]["error"] == []
@level(6, "App is in a community-operated git org") @level(6, "App is in a community-operated git org")