Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake/interpreter: Remove None from values we promise wont have None
We've documented these lists as being `List[Path]`, but then we have the potential to insert a None into them via the `rel_path()` function, which can return `None` in some cases. We need to actually remove them from the list before we assign, so that it's actually a `List[Path]`. While we're here I've simplified the logic a bit. Closes: mesonbuild#13551
- Loading branch information