Skip to content

Conversation

@T1mn
Copy link
Contributor

@T1mn T1mn commented Jan 6, 2026

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.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

The following comment was made by an LLM, it may be inaccurate:

Found a potentially related PR:

PR #7051: fix: guard storage migration path checks

Why it might be related: PR #7051 appears to address a similar issue - guarding path checks. Both PRs seem to be fixing problems with file path validation/existence checks that could throw errors. They may be part of the same set of fixes for handling path operations more safely across the codebase.

@rekram1-node rekram1-node merged commit 8265621 into anomalyco:dev Jan 6, 2026
3 checks passed
ruuxi pushed a commit to ruuxi/ngmicode that referenced this pull request Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants