Skip to content

Commit

Permalink
chore: add return False in check validation
Browse files Browse the repository at this point in the history
Signed-off-by: behnazh-w <[email protected]>
  • Loading branch information
behnazh-w committed Nov 4, 2024
1 parent 263a4e2 commit 10f011a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/macaron/slsa_analyzer/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def _validate_check(check: Any) -> bool:
"The registered Check %s is not a valid instance of BaseCheck.",
class_name,
)
return False

# Try to get the path to the check module file
check_module = inspect.getmodule(check)
Expand Down

0 comments on commit 10f011a

Please sign in to comment.