fix(common): show description even if child projects specifies path

Previously we didn't show the description for the target if the target
definition specified a an alternate folder, e.g. `:app=src/app`. This
change fixes this.
This commit is contained in:
Eberhard Beilharz 2024-08-09 12:20:36 +02:00
parent af3aae739e
commit 196300a418
No known key found for this signature in database
GPG key ID: E9140597606020D3

View file

@ -866,6 +866,7 @@ builder_describe() {
IFS="=" read -r -a sub <<< "$value"
target_path="${sub[@]:1}"
value="${sub[0]}"
original_value="$value"
if [[ ! -d "$THIS_SCRIPT_PATH/$target_path" ]]; then
builder_die "Target path '$target_path' for $value does not exist."
fi