Commit 7d0b52f
fix: use bracket notation for JSON path in devcontainer updates (#1830)
The JSON path query for devcontainer.json was using dot notation with
quotes which failed to match keys containing special characters
(dots, slashes, colons).
Changed from:
$.features."ghcr.io/devcontainers/features/docker-in-docker:2".version
To bracket notation:
$.features["ghcr.io/devcontainers/features/docker-in-docker:2"].version
This fixes the updatecli workflow error:
could not find value for query "$.features.\"ghcr.io/devcontainers/features/docker-in-docker:2\".version"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <[email protected]>1 parent c1f7ea5 commit 7d0b52f
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
54 | | - | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | | - | |
58 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
0 commit comments