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

refactor: remove redundant conditional #942

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

wincent
Copy link
Contributor

@wincent wincent commented Nov 11, 2024

Removes one of the nested conditionals:

if config.exclude then
    if config.exclude then

Removes one of the nested conditionals:

```lua
if config.exclude then
    if config.exclude then
```
@lukas-reineke
Copy link
Owner

Thank you, can you format the file with stylua? Then CI should be happy

@wincent
Copy link
Contributor Author

wincent commented Nov 11, 2024

Thank you, can you format the file with stylua? Then CI should be happy

Done. That's what I get for editing the file directly in GitHub's web UI. 😬

@lukas-reineke
Copy link
Owner

Tnank you ❤️

@lukas-reineke lukas-reineke merged commit 7871a88 into lukas-reineke:master Nov 11, 2024
8 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