some filename includes "error". so update the regex

This commit is contained in:
Fu Hanxi 2020-04-22 16:04:03 +08:00
parent dc89e6df6e
commit 701b496621

View file

@ -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 [