From 67dd908eff794f1d380723802d95f131ef7e89c3 Mon Sep 17 00:00:00 2001 From: zhangwuf Date: Sat, 2 Dec 2023 14:59:50 +0800 Subject: [PATCH] =?UTF-8?q?check=E5=8F=82=E6=95=B0bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangwuf --- build-tools/capi_parser/src/coreImpl/check/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/capi_parser/src/coreImpl/check/check.py b/build-tools/capi_parser/src/coreImpl/check/check.py index b888cae43..bd0fa076c 100644 --- a/build-tools/capi_parser/src/coreImpl/check/check.py +++ b/build-tools/capi_parser/src/coreImpl/check/check.py @@ -73,7 +73,7 @@ def result_to_json(check_result): txt_resul.append('api_check: false') else: for result in check_result: - location = f'{result.location}(line:{result.locationLine}, col:{result.locationColumn})' + location = f'{result.location}(line:{result.location_line}, col:{result.location_column})' message = 'API check error of [{}]:{}'.format(result.error_type['description'], result.error_info) txt_resul.append(OutputTxt(result.error_type['id'], result.level, location, result.file_name, message)) txt_resul.append('api_check: false') -- Gitee