Skip to content
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

Fail Feature/Template packaging if id does not match containing directory name #797

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

joshspicer
Copy link
Member

It is assumed and documented in the specification that the name of the directory that contains a Feature/Template matches the id property in its devcontainer-(feature|template).json.

This patch enforces that behavior, preventing the confusing behavior reported in #793

There is an existing Features packaging test that validates this change

@joshspicer joshspicer force-pushed the joshspicer/enforce-Feature-dir-name-match branch from 372edfb to 49f8178 Compare April 11, 2024 18:29
Copy link
Member

@samruddhikhandale samruddhikhandale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice ⚡

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.

3 participants