-
Notifications
You must be signed in to change notification settings - Fork 746
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
Validate devcontainer config file name #694
Comments
I have a solution to fix this issue. In case, if the fileName != requiredName, do I need to send an error message? I'll try to raise a PR soon, after figuring out which file I have to change 😃 |
@RS-labhub you need to use the validate function of the input to achieve this and the error will be displayed automatically. |
Got it! |
You can close this issue now |
@RS-labhub in the future, please add |
Is your feature request related to a problem? Please describe.
The Devcontainer CLI will fail if the config file is not named
.devcontainer.json
ordevcontainer.json
. Currently, our TUI allows for any path to be entered which will fail during the build process if the condition is not met.Describe the solution you'd like
We should implement input validation that would inform the user during the creation process that the filename must be named
.devcontainer.json
ordevcontainer.json
.The text was updated successfully, but these errors were encountered: