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(journal): value assigned to variable current_quarter is unused #1174

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

pysan3
Copy link
Contributor

@pysan3 pysan3 commented Nov 19, 2023

The action luacheck fails from #1165, with value assigned to variable current_quarter is unused as you can see here.

This PR fixes that.
Basically, current_quater is substituted with [1-4] right after (if-else covers all cases), so there's no reason to put it to nil here.

In the action I mentioned above, there's also another error in core.latex.render so I asked @nolbap to fix it here: #1133 (comment).

@vhyrro vhyrro merged commit 0e88151 into nvim-neorg:main Nov 19, 2023
0 of 2 checks passed
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