App.__format_topdir(): Mention relative in error
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 8m15s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m19s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 8m23s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m7s
CI / Packaging test (push) Successful in 0s
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 8m15s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m19s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 8m23s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m7s
CI / Packaging test (push) Successful in 0s
__format_topdir() accepts "absolute", "relative", "unaltered", and "make:<variable-name>", but the error message it raises for anything else only lists "unaltered", "absolute", and "make:<variable-name>", leaving out "relative". Add "relative" to the list of valid formats in the error message. Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2 Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
a89eb18d52
commit
eec9325b46
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ class App(Base):
|
||||||
if m is None:
|
if m is None:
|
||||||
raise Exception(
|
raise Exception(
|
||||||
f'Can\'t interpret "{fmt}" as valid topdir reference, '
|
f'Can\'t interpret "{fmt}" as valid topdir reference, '
|
||||||
'expecting "unaltered", "absolute", or "make:<variable-name>"'
|
'expecting "absolute", "relative", "unaltered", '
|
||||||
|
'or "make:<variable-name>"'
|
||||||
)
|
)
|
||||||
return '$(' + m.group(1) + ')'
|
return '$(' + m.group(1) + ')'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue