opencode
opencode copied to clipboard
fix: prevent jdtls path checks from throwing
Summary
- add a pathExists helper for JDTLS setup
- replace fs.promises.exists calls to avoid TypeError at runtime
- keep JDTLS download and launcher validation working for Java LSP startup
Notes
- This is a defensive guard; no current breakage observed, but it prevents runtime errors if the migration hits missing paths.