这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix infinite load attempts when direnv is not found on PATH #1

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
wants to merge 2 commits into from

Conversation

nvmd
Copy link

@nvmd nvmd commented Dec 27, 2021

Plugin infinitely crashes and tries to load direnv config again and again, causing unnecessary CPU load.
This happens, for example, when direnv is not found on $PATH.

Expected behavior implemented in PR: attempt to load config once, display error message if failed.

nvmd added 2 commits December 27, 2021 05:09
Otherwise plugin infinitely crashes and tries to load direnv config again and again.
This happens, for example, when `direnv` is not found on $PATH.
@misuzu
Copy link
Owner

misuzu commented Dec 28, 2021

I didn't test it without direnv installed, thanks! New version should show proper error message now.

@misuzu misuzu closed this Dec 28, 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

Successfully merging this pull request may close these issues.

2 participants