Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Mill BSP workspace directory #3404

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Fix Mill BSP workspace directory #3404

merged 1 commit into from
Aug 22, 2024

Conversation

lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Aug 22, 2024

os.pwd is no longer the repo root as of #3367, so we need to explicitly ask for mill.api.WorkspaceRoot.workspaceRoot

This allows a installLocalCached version of Mill to successfully be used to load a project into IntelliJ via BSP, whereas in main that fails due to the incorrect workspace directory

@lihaoyi lihaoyi marked this pull request as ready for review August 22, 2024 07:16
@lihaoyi lihaoyi merged commit 6c49d7f into com-lihaoyi:main Aug 22, 2024
29 checks passed
@lihaoyi lihaoyi added this to the 0.12.0 milestone Aug 22, 2024
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.

1 participant