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: allow cached opts.cwd to be reset if nil #71

Closed
wants to merge 1 commit into from

Conversation

rish987
Copy link
Contributor

@rish987 rish987 commented Mar 26, 2024

#70 caused an issue for me where the cwd got stuck as nil, I haven't yet investigated further but it seems that the default value of opts.cwd is not set as early as we think it is. For now, this should fix the issue.

@cljoly cljoly added the bug Something isn't working label Apr 25, 2024
cljoly added a commit that referenced this pull request Apr 25, 2024
Sometimes, when we cache opts.cwd, it is still nil. While this problem
is investigated [separately][1], it’s worth having this workaround, to
be on the safe side. It’s very disruptive when items can’t be diplayed.

[1]: #70 (comment)

Originally authored by @rish987 in #71. I’ve made cosmetic changes and
added some comments.

Co-authored-by: Rishikesh Vaishnav <[email protected]>
@cljoly
Copy link
Owner

cljoly commented Apr 25, 2024

Thanks for opening this PR! I wanted to make some small changes, so I’ve created #76, but you are formally credited as a co-author there.

@cljoly cljoly closed this Apr 25, 2024
cljoly added a commit that referenced this pull request Apr 25, 2024
Sometimes, when we cache opts.cwd, it is still nil. While this problem
is investigated [separately][1], it’s worth having this workaround, to
be on the safe side. It’s very disruptive when items can’t be diplayed.

[1]: #70 (comment)

Originally authored by @rish987 in #71. I’ve made cosmetic changes and
added some comments.

Co-authored-by: Rishikesh Vaishnav <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants