Skip to content

Update index.js to fix reference error - #311

Merged
mmcky merged 2 commits into
mainfrom
kp992-patch-1
Sep 22, 2025
Merged

mmcky merged 2 commits into
mainfrom
kp992-patch-1

Conversation

@kp992

@kp992 kp992 commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

@mmcky Please review the changes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a JavaScript reference error by adding proper variable declarations. The changes ensure that variables index and height are properly declared with const to avoid potential ReferenceError issues.

@mmcky

mmcky commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

@kp992 do you have time to fix the ci/tests?

@mmcky

mmcky commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

Nice work @kp992

Screenshot 2025-09-22 at 2 15 37 pm

Working in the test build.

@kp992

kp992 commented Sep 22, 2025

Copy link
Copy Markdown
Contributor Author

Thanks @mmcky. The CI failure seems to be unrelated to the change. The upload function is failing for code coverage.

@mmcky

mmcky commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

Thanks @mmcky. The CI failure seems to be unrelated to the change. The upload function is failing for code coverage.

Yeah I think the codecov report is not being generated to upload?

@kp992

kp992 commented Sep 22, 2025 •

Copy link
Copy Markdown
Contributor Author

Yes, but the pytest seems fine to me.

@codecov

codecov Bot commented Sep 22, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@74ed6c9). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #311   +/-   ##
=======================================
  Coverage        ?   15.09%           
=======================================
  Files           ?        2           
  Lines           ?      265           
  Branches        ?        0           
=======================================
  Hits            ?       40           
  Misses          ?      225           
  Partials        ?        0           
Flag Coverage Δ
pytests 15.09% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
github-actions Bot temporarily deployed to commit September 22, 2025 07:39 Inactive
@mmcky

mmcky commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

thanks @kp992

@mmcky
mmcky merged commit a74e3a0 into main Sep 22, 2025
@mmcky
mmcky deleted the kp992-patch-1 branch September 22, 2025 07:40

This branch was previously deployed

1 inactive deployment
commit — e57c4046 Deployed Sep 22, 2025 by github-actions[bot]
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.

3 participants