Skip to content

Commit 54786a1

Browse files
committed
fix(cli): preserve recursive failure accounting
Signed-off-by: Rod Boev <[email protected]>
1 parent ebd0e5f commit 54786a1

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎src/skillspector/cli.py‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2807,10 +2807,7 @@ def _scan_multi_skill(
28072807
source_local_only=skill.local_only,
28082808
)
28092809
child_failed = result.get("execution_successful") is False
2810-
if child_failed:
2811-
execution_failed = True
2812-
failed_skill_count += 1
2813-
elif _coverage_below_threshold(result, min_coverage):
2810+
if not child_failed and _coverage_below_threshold(result, min_coverage):
28142811
coverage_failed = True
28152812
completeness_value = result.get("analysis_completeness")
28162813
child_partial = (

0 commit comments

Comments
 (0)