Skip to content

fix: clear CodeQL useless-assignment in build-data - #13

Merged
veillette merged 1 commit into
mainfrom
fix/codeql-build-data
Aug 12, 2026
Merged

fix: clear CodeQL useless-assignment in build-data#13
veillette merged 1 commit into
mainfrom
fix/codeql-build-data

Conversation

@veillette

Copy link
Copy Markdown
Contributor

Summary

  • Avoid initializing totalPages before the first fetch (js/useless-assignment-to-local)
  • scripts/data/** HTTP→disk findings are excluded via Baton shared CodeQL

Test plan

  • CodeQL alert on scripts/build-data.ts closes after merge

Made with Cursor

Restructure the page loop so totalPages is not seeded with a dummy value.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Aug 12, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@veillette
veillette merged commit a8a5ce4 into main Aug 12, 2026
8 checks passed
@veillette
veillette deleted the fix/codeql-build-data branch August 15, 2026 17:55
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.

1 participant