[PR #7052] fix: prevent jdtls path checks from throwing #12226

Closed
opened 2026-02-16 18:17:09 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7052

State: closed
Merged: Yes


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.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7052 **State:** closed **Merged:** Yes --- ## 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.
yindo added the pull-request label 2026-02-16 18:17:09 -05:00
yindo closed this issue 2026-02-16 18:17:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12226