]> _ Git - alire.git/commit
feat: improved error message for unknown predefined variables in env (#1875)
authorManuel <mgrojo@gmail.com>
Mon, 3 Mar 2025 10:06:32 +0000 (11:06 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Mar 2025 10:06:32 +0000 (11:06 +0100)
commit438b3b1988c255fa12a6888c9580199fe2245f06
tree5d94072bb8fd94b3d1a26efea772302c1bab7ff7
parenteb56534d703b3e331068a4cdfc04380021b49128
feat: improved error message for unknown predefined variables in env (#1875)

Now full message mentions the fact that this evaluation is expected for
prededefined variables and the offending key is printed.

Example:
```
error: Unknown predefined variable in environment variable 'PATH' of 'alr': Unknown formatting key: HOME
```
src/alire/alire-environment-loading.adb