From 3b428f9b7b416a90599f7ec0da355a78fbc742fa Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 23 Jan 2022 00:34:01 +0300 Subject: [PATCH] Print the type of a check in the json mode --- kconfig_hardened_check/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index f1de819..3b19ce8 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -626,7 +626,7 @@ def print_checklist(mode, checklist, with_results): if mode == 'json': opts = [] for o in checklist: - opt = ['CONFIG_'+o.name, o.expected, o.decision, o.reason] + opt = ['CONFIG_'+o.name, o.type, o.expected, o.decision, o.reason] if with_results: opt.append(o.result) opts.append(opt) -- 2.31.1