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 cwd issue with multi-root workspaces #592

Merged
merged 1 commit into from
May 18, 2022

Conversation

TwitchBronBron
Copy link
Member

roku-deploy uses cwd when looking for bsconfig.json and roku-deploy.json. However, when running the language server in multi-workspace mode, process.cwd() is the first workspace folder. This causes roku-deploy to use the wrong bsconfig.json for workspaces without a files array.

The issue has been fixed by using the DefaultFiles array from roku-deploy instead of calling rokuDeploy.getOptions().files.

@TwitchBronBron TwitchBronBron merged commit 8b07b07 into master May 18, 2022
@TwitchBronBron TwitchBronBron deleted the fix-multi-workspace-cwd-issues branch May 18, 2022 14:19
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