diff --git a/platformio/commands/check/command.py b/platformio/commands/check/command.py index b6fc2bec..d1f01f5c 100644 --- a/platformio/commands/check/command.py +++ b/platformio/commands/check/command.py @@ -168,9 +168,10 @@ def cli( def results_to_json(raw): results = [] for item in raw: + if item.get("succeeded") is None: + continue item.update( { - "ignored": item.get("succeeded") is None, "succeeded": bool(item.get("succeeded")), "defects": [d.as_dict() for d in item.get("defects", [])], }