Commit 44ea6fc
committed
test(prisma-next): guard the recorded bulk-decrypt call instead of unsafe ?.
Biome 2.5.3 (bumped in this group) adds lint/correctness/noUnsafeOptionalChaining,
which correctly flags `(call?.ciphertexts[0] as ...).c` — if `call` were
undefined the chain would throw anyway. Guard once and drop the optional
chaining; behaviour identical, and the lint gate stays green on the new
Biome. (The new version's extra useLiteralKeys/noNonNullAssertion findings
are warnings, which CI permits.)
Claude-Session: https://claude.ai/code/session_01MxTTPaPP16m6br7Hoab94w1 parent 95479f6 commit 44ea6fc
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
| 289 | + | |
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
292 | 293 | | |
293 | | - | |
294 | | - | |
295 | | - | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
| |||
0 commit comments