Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix for Unused variable, import, function or class#1

Draft
johnsamuelwrites wants to merge 1 commit into
main from
finding-autofix-e7ed81cd
Draft

Fix for Unused variable, import, function or class #1
johnsamuelwrites wants to merge 1 commit into
main from
finding-autofix-e7ed81cd

Conversation

@johnsamuelwrites

@johnsamuelwrites johnsamuelwrites commented Apr 21, 2026

Copy link
Copy Markdown
Member

The safest fix is to remove the unused baseDir declaration. This eliminates dead code and resolves the CodeQL warning without changing script behavior.

What to change (scripts/count_polygons.js):

  • Delete line 26: const baseDir = process.cwd();

No imports, methods, or additional definitions are needed.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /