diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-01-21 14:21:32 -0500 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2022-01-26 14:49:38 -0500 |
commit | 88f8a8ea156b4839529221192819bde72a89a32d (patch) | |
tree | dddcf66afe26c8f5d63eb75a9b030c34f3449402 /docs | |
parent | ab924fc1dedaaffbecad9155f7ba93eb5eda1e7d (diff) | |
download | meson-88f8a8ea156b4839529221192819bde72a89a32d.zip meson-88f8a8ea156b4839529221192819bde72a89a32d.tar.gz meson-88f8a8ea156b4839529221192819bde72a89a32d.tar.bz2 |
mcompile: fix broken codepaths and restore orphaned code
In commit 928078982c8643bffd95a8da06a1b4494fe87e2b a good error message
about the directory not being a valid build directory, was replaced by a
worse message.
In commit abaa980436f53100041bd5535589bb1c42019bd6 the error message was
replaced by a traceback when trying to load the coredata before checking
if it was a build directory.
Revert back to using the helper function with the good error message.
Reorganize code so that we check basic things first, and do less work
before detecting errors.
Fixes #9584
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions