You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: correct plugin subpath handling in module replacement logic
- Fix plugin download logic to properly distinguish between exact matches and subpaths
- Add two-phase approach: skip subpaths, handle exact matches as replaced modules
- Ensure replaced modules (both core and plugins) are required in go.mod with placeholder versions
The key fix changes the condition from `strings.HasPrefix(p.Path, repl)` to
`p.Path \!= repl && strings.HasPrefix(p.Path, repl)` to avoid incorrectly
skipping plugins that exactly match replaced module paths.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments