Cursor Agent
0e0490b6b1
fix: reset schemaDeclarationRef on JSON parse failure
...
When UnknownJson decoding fails (malformed file), the schemaDeclarationRef
was not reset to undefined. On a file-watcher reload, a stale $schema value
from a previous successful load would survive and get injected into the next
updateSettings call. Add the missing else branch to reset the ref, consistent
with the file-not-found case.
2026-03-30 22:54:37 +00:00
..
2026-03-28 20:50:23 -07:00
2026-03-30 14:24:19 -07:00
2026-03-29 05:57:32 +00:00
2026-03-29 05:55:18 +00:00
2026-03-30 01:13:16 +00:00
2026-03-20 15:12:52 -07:00
2026-03-30 10:19:11 -07:00
2026-03-25 23:58:58 -07:00
2026-03-20 15:12:52 -07:00
2026-03-20 15:12:52 -07:00
2026-03-20 15:12:52 -07:00
2026-03-28 18:41:26 +00:00
2026-03-28 18:41:26 +00:00
2026-03-29 17:51:05 -07:00
2026-03-29 17:51:05 -07:00
2026-03-25 23:58:58 -07:00
2026-03-01 20:06:21 -08:00
2026-03-05 15:56:40 -08:00
2026-03-05 23:40:49 -08:00
2026-03-28 18:23:30 -07:00
2026-03-30 14:46:42 -07:00
2026-02-09 22:15:48 -08:00
2026-03-28 18:21:56 +00:00
2026-03-25 23:58:58 -07:00
2026-03-27 04:46:43 +00:00
2026-03-27 04:46:43 +00:00
2026-03-28 18:21:56 +00:00
2026-03-28 18:21:56 +00:00
2026-02-14 23:35:48 -08:00
2026-03-28 17:28:56 +00:00
2026-03-10 00:17:18 -07:00
2026-03-01 23:18:45 -08:00
2026-03-25 23:58:58 -07:00
2026-03-20 15:12:52 -07:00
2026-03-30 15:39:49 -07:00
2026-03-30 22:54:37 +00:00
2026-02-26 13:20:36 -08:00
2026-03-12 13:00:08 -07:00
2026-03-12 13:00:08 -07:00
2026-03-30 10:19:11 -07:00
2026-03-30 10:19:11 -07:00