devcontainers / devcontainers/cli

Features: Input other than enum?

Aperta
#369 6 commenti 0 reazioni 1 assegnatario Rivendicata da @samruddhikhandale Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
3k
Fork
457
Merge medio
13h 17m
PR unite (30g)
6

Descrizione

I noticed that the test case set value that are not in the enum.

https://github.com/devcontainers/feature-starter/blob/ea254a2b7d67d8526a6b9c85cfb5d96abfa780b2/test/_global/scenarios.json#L5-L7

https://github.com/devcontainers/feature-starter/blob/ea254a2b7d67d8526a6b9c85cfb5d96abfa780b2/src/color/devcontainer-feature.json#L7-L13

This may work for now, but I don't think it is generally expected behavior to enter any other value for an option that has enum set.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.