Commit ae650be
fix(ego-field-test): indent multi-line expressions in json_extract wrapper
The json_extract helper (introduced in 685d3dc) wraps Python expressions
in try/except but relied on template whitespace to indent the first line.
Multi-line expressions had subsequent lines at column 0, outside the try
block, causing IndentationError for all but the first few extensions.
Pipe expressions through sed to indent every line by 4 spaces.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c54d848 commit ae650be
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
0 commit comments