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 warnings for variables in conditionally hidden code blocks #11

Open
iglunchadze opened this issue Nov 27, 2023 · 0 comments
Open

Fix warnings for variables in conditionally hidden code blocks #11

iglunchadze opened this issue Nov 27, 2023 · 0 comments
Labels
cli enhancement New feature or request

Comments

@iglunchadze
Copy link

Using an undefined variable is not expected to yield a warning if its occurrence is hidden behind a conditional operator. But this doesn't work when the variable is used inside a code block (```).

See the example gist.

@3y3 3y3 added enhancement New feature or request cli labels Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants