Skip to content

fix: iot tasks scaffolding handle empty choices - #769

Merged
jrk94 merged 1 commit into
criticalmanufacturing:developmentfrom
Cafernandes:development-fixIoTTasksScaffolding
Jul 9, 2026
Merged

fix: iot tasks scaffolding handle empty choices#769
jrk94 merged 1 commit into
criticalmanufacturing:developmentfrom
Cafernandes:development-fixIoTTasksScaffolding

Conversation

@Cafernandes

Copy link
Copy Markdown

What was done

  • Added guards to skip the Depends on Protocol and Depends on Scope prompts when there are no available options, preventing empty MultiSelectionPrompts from being created.
  • Fixed scaffolding failures caused by empty Spectre.Console prompts.

Closes #752

@jrk94
jrk94 merged commit 860e6a4 into criticalmanufacturing:development Jul 9, 2026
2 checks passed
@jrk94 jrk94 linked an issue Jul 9, 2026 that may be closed by this pull request
@jrk94 jrk94 added this to the 6 milestone Jul 9, 2026
@jrk94 jrk94 added the bug Something isn't working label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Command cmf new iot task is broken for 6.0.0-0 prerelease

2 participants