aglinxinyuan opened a new pull request, #9179:
URL: https://github.com/apache/texera/pull/9179
### What changes were proposed in this PR?
Removes unused configuration and enum definitions in
`pyright-language-service`:
1. `config.json:2`: Dead property `"languageServerDir":
"../node_modules/pyright/dist"`. `main.ts:34` defines the relative server
runner path directly (`./node_modules/pyright/dist/pyright-langserver.js`) and
parses `config.json` only for `clientPathName`.
2. `server-commons.ts:20`: Unused enum variant `LanguageName.java`. The
pyright language service exclusively launches the Python language server via
`LanguageName.node`.
**+1/-4 lines.** Pure deletion with no behaviour change.
### Any related issues, documentation, discussions?
Closes #9178.
### How was this PR tested?
- Verified 0 callers repo-wide:
`git grep -nw "languageServerDir"` (1 hit, now 0)
`git grep -nw "LanguageName.java"` (0 hits)
- Valid JSON verified for `config.json`.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Antigravity (Claude Opus 5.5)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]