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

refactor: reduce indentation for AddConstantRule.configure #1128

Merged

Conversation

alexandear
Copy link
Contributor

The PR simplifies the implementation of the AddConstantRule.configure function for the case when no arguments are passed. Additionally, it adds a test to prove that nothing is broken.

rule/add_constant.go Outdated Show resolved Hide resolved
@alexandear alexandear force-pushed the refactor/add-constant-configure branch from 16754b0 to 73d18b8 Compare November 18, 2024 11:18
@alexandear alexandear force-pushed the refactor/add-constant-configure branch from 73d18b8 to ec20e77 Compare November 18, 2024 11:20
@chavacava chavacava merged commit d81fc8f into mgechev:master Nov 18, 2024
5 checks passed
@alexandear alexandear deleted the refactor/add-constant-configure branch November 18, 2024 13:40
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.

2 participants