Commit 7dd795c
committed
fix(nix): guard AMENT_PREFIX_PATH against empty leading colon
Addresses Copilot review: when AMENT_PREFIX_PATH is unset/empty, the
$AMENT_PREFIX_PATH:<paths> form injects a leading empty path segment, which
tools that split on ':' interpret as the current directory. Use
${AMENT_PREFIX_PATH:+...} so the existing value (and its separator) is only
prepended when non-empty.1 parent 9cc34bf commit 7dd795c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
0 commit comments