Skip to content

Checking $PATH should also respect directories #255

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

Closed
daphil19 opened this issue Jan 25, 2021 · 2 comments
Closed

Checking $PATH should also respect directories #255

daphil19 opened this issue Jan 25, 2021 · 2 comments

Comments

@daphil19
Copy link
Contributor

The $PATH environment variable supports directories; meaning an executable that's a direct (i.e, non-recursive) child of the directory is counted as in the $PATH. The language server should check if an entry is a directory and check it's children.

When coupled with #254, this results in the kotlin compiler & stdlib not being found, resulting in a failed build.

@msoucy
Copy link

msoucy commented Jan 25, 2021

I think the phrase that will help explain this is "relative path"

@daphil19
Copy link
Contributor Author

daphil19 commented Feb 2, 2021

Looking closer into this, I realized I was mistaken. The issue I was having was related to homebrew for linux's kotlin installation.

I'll close this ticket and open a new one describing the homebrew situation

@daphil19 daphil19 closed this as completed Feb 2, 2021
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

No branches or pull requests

2 participants