Commit 59f6a97d authored by Christian Hergert's avatar Christian Hergert

meson: fix access to path suffix

We can just reuse the full path here, since basename is going to be
implied as we check the suffix.
parent 843208e5
......@@ -125,7 +125,7 @@ class MesonBuildSystem(Ide.Object, Ide.BuildSystem, Gio.AsyncInitable):
if infile.get_basename().endswith('.vala'):
if infile.endswith('.vala'):
# We didn't find anything in the compile_commands.json, so now try to use
# the compdb from ninja and see if it has anything useful for us.
ninja = None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment