Skip to content

Conversation

@matiasbontempo
Copy link
Contributor

When trying to use the library, there's an error saying the following:

25 |     for (const i = 1; i <= UNIVERSE_LEN; i++) {
                                              ^
error: This assignment will throw because "i" is a constant
    at {BASE_PATH}\node_modules\dmx\drivers\bbdmx.js:25:42

This PR changes the i type from const to let to allow the for loop to re-assign the variable.

@wiedi wiedi merged commit 93c414a into node-dmx:master Sep 2, 2025
@wiedi
Copy link
Member

wiedi commented Sep 2, 2025

thanks!

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.

2 participants