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 'Unexpected lexical declaration in case block.' issue in src\commands\utility\home.ts #57

Closed
Visual1mpact opened this issue Jul 27, 2024 · 0 comments

Comments

@Visual1mpact
Copy link
Owner

CodeFactor found an issue: Unexpected lexical declaration in case block.

It's currently on:
src\commands\utility\home.ts:167

Visual1mpact added a commit that referenced this issue Jul 27, 2024
Wrapped `case` block contents in curly braces to create block scope and avoid "Unexpected lexical declaration in case block" error. This change ensures proper scoping of variables within the switch statement.

Related issue: #57
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

No branches or pull requests

1 participant