Commit c2a709a
refactor(ai): drop dead hasUsableContent assignment (PR #19 review)
The string-content branch of withRollingCacheBreakpoint set hasUsableContent
= true but never read it — the value is only used in the array branch. Scope
it to that branch as a const, which removes both the useless assignment and
the now-dead initializer. Behavior unchanged; promptCaching test still green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 59dec3d commit c2a709a
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | 172 | | |
174 | 173 | | |
175 | | - | |
176 | 174 | | |
177 | 175 | | |
178 | 176 | | |
179 | | - | |
| 177 | + | |
180 | 178 | | |
181 | 179 | | |
182 | 180 | | |
| |||
0 commit comments