Commit e5c086c
fix(guide): skip pinned tools from upgrade prompts
Fixed bug where pinned tools were still being prompted for upgrades
even though they had pinned_version set in their catalog entries.
Previous logic: Only skip if pinned_version >= latest_version
Problem: This meant pinned tools with newer versions available
would still be prompted for upgrade
New logic: Skip any tool with pinned_version set (except "never")
Behavior: Pinned tools are completely excluded from upgrade prompts,
which is the expected behavior of version pinning
Examples:
- ctags pinned to 5.9.0 (latest 6.2.1) → now skipped
- node pinned to 25.0.0 (latest 25.1.0) → now skipped
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 8f6b6eb commit e5c086c
1 file changed
Lines changed: 4 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
273 | 248 | | |
274 | 249 | | |
275 | 250 | | |
| |||
0 commit comments