Skip to content

ArduinoChoosePort Broken #38

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

Closed
jonascant opened this issue May 18, 2021 · 1 comment
Closed

ArduinoChoosePort Broken #38

jonascant opened this issue May 18, 2021 · 1 comment

Comments

@jonascant
Copy link

let labels = map(copy(items), {i, v ->
\ i < 9
\ ? ' '.(i+1).') '.v.label
\ : (i+1).') '.v.label
\ })

This code modification broke my ArduinoChoosePort.
I get an error message that "' '.(i+1).') '.v.label " is not found in Dictionary (i had to translate from german, might not be accurate)

Reverting the code to

let labels = s:ConvertItemsToLabels(items) call map(labels, {i, l -> \ i < 9 \ ? ' '.(i+1).') '.l \ : (i+1).') '.l

Made it work again.

@stevearc
Copy link
Owner

Thanks for the report! Should be fixed now

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

2 participants