Commit bac7b49
authored
Improve error when target override fails (#2760)
## Changes
Add prefixes with context for errors in target override.
## Why
Saw an error that looks like
```
Error: invalid path '.'
```
The error was caused by some other breaking changes, so I don't have a
test, but still, if users ever see that it's not very helpful (e.g. path
does not refer to file system but it is related to dyn.Value).
## Tests
Existing tests.1 parent d46edf0 commit bac7b49
File tree
3 files changed
+3
-3
lines changed- acceptance/bundle/variables/env_overrides
- bundle/config
- mutator
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| |||
0 commit comments