From 701b496621b1fe1bf3d04ecd26e02599d689b86a Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Wed, 22 Apr 2020 16:04:03 +0800 Subject: [PATCH] some filename includes "error". so update the regex --- tools/ci/check_build_warnings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/check_build_warnings.py b/tools/ci/check_build_warnings.py index 285492d59..738d3f299 100755 --- a/tools/ci/check_build_warnings.py +++ b/tools/ci/check_build_warnings.py @@ -18,7 +18,7 @@ except ImportError: sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) from find_build_apps import BuildItem, setup_logging -WARNING_REGEX = r"error|warning" +WARNING_REGEX = r"^\s+(?:error|warning)" IGNORE_WARNS = [ re.compile(r_str) for r_str in [