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

Add a better Error Message For Undefined Identifier Types #11213

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

jan-cerny
Copy link
Collaborator

The build system will now throw if there will be an unsupported identifier used in the identifiers key in rule.yml files.

The responsible code is refactored out to a separate method to reduce code complexity and increase readability.

Fixes: #11183

The build system will now throw if there will be an unsupported
identifier used in the `identifiers` key in `rule.yml` files.

The responsible code is refactored out to a separate method
to reduce code complexity and increase readability.

Fixes: ComplianceAsCode#11183
@github-actions
Copy link

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

@jan-cerny jan-cerny added this to the 0.1.71 milestone Oct 20, 2023
@jan-cerny jan-cerny added the Infrastructure Our content build system label Oct 20, 2023
@Mab879 Mab879 self-assigned this Oct 20, 2023
@codeclimate
Copy link

codeclimate bot commented Oct 20, 2023

Code Climate has analyzed commit a3c4cb3 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 80.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 57.0%.

View more on Code Climate.

Copy link
Member

@Mab879 Mab879 left a comment

Choose a reason for hiding this comment

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

LGTM.

Thanks for the PR!

@Mab879 Mab879 merged commit 440747b into ComplianceAsCode:master Oct 20, 2023
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Our content build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Better a Error Message For Undefined Identifier Types
2 participants