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

feature request: Break the build when critical YAML frontmatter is not valid #467

Open
joewrightfd opened this issue Jun 5, 2024 · 0 comments

Comments

@joewrightfd
Copy link

During the build you get some helpful error messages to tell you when your data is not right like:

Item behaviour-driven-development has invalid quadrant adopt

In this case someone has flipped the quadrant and rings around. Currently, the build passes when this is encountered. It'd be good to optionally choose to break the build at this point.

Additional: if you know the valid quadrants, you could list them in the error message to help folks know what is wrong.

So for our example (colour would help with folks reading this):

Item behaviour-driven-development has invalid quadrant adopt
  valid quadrants are: languages-and-frameworks, methods-and-patterns, platforms-and-operations, tools

Thanks for this wonderful project.

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

1 participant