Commit b2b4aed
authored
fix: escape dot in sed pattern for validator name extraction (#62)
The sed pattern 's/.json//' was incorrectly stripping '.json' from
anywhere in the filename (e.g., 'is-my-json-valid.json' became
'is-my-valid.json'). Fixed by anchoring to end of string and
escaping the dot: 's/\.json$//'1 parent 2e9a2a5 commit b2b4aed
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments