lgtm: fix missing raise

pull/6289/head
Daniel Mensinger 5 years ago committed by Jussi Pakkanen
parent e0001fbe0a
commit ed9d125b9c
  1. 2
      mesonbuild/compilers/mixins/arm.py

@ -143,7 +143,7 @@ class ArmclangCompiler:
if ver_str:
ver_str = ver_str.group(0)
else:
mesonlib.EnvironmentException('armlink version string not found')
raise mesonlib.EnvironmentException('armlink version string not found')
assert ver_str # makes mypy happy
# Using the regular expression from environment.search_version,
# which is used for searching compiler version

Loading…
Cancel
Save