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: add nil check #1129

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

stephen-huan
Copy link

@stephen-huan stephen-huan commented Oct 2, 2024

I got an error like #1085 and #1086 except at line 145 of

if not repo_cache[gitdir] then
repo_cache[gitdir] = {1, new(info)}
else

This PR adds a nil check like e784e5a, 375c44b, and 7178d1a. Not sure what the underlying cause of all this is.

(the repo I was in is not empty and worked before without errors, can't seem to reproduce the error again.)

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