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

Support checking both notifies and subscribes properties in cops #451

Merged
merged 4 commits into from
Dec 16, 2019

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Dec 13, 2019

Updates our property helper to accept an array of helpers, which allows updating ChefCorrectness/NotifiesActionNotSymbol and ChefDeprecations/LegacyNotifySyntax to work with both notify and subscribes properties.

…ce? helper

We need to be able to match on 2 at a time so we don't have to run all this logic twice.

Signed-off-by: Tim Smith <tsmith@chef.io>
Updates our property helper to accept an array of helpers, which allows updating ChefCorrectness/NotifiesActionNotSymbol and ChefDeprecations/LegacyNotifySyntax to work with both notify and subscribes properties.

Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 requested review from a team as code owners December 13, 2019 22:00
Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 merged commit 5828c39 into master Dec 16, 2019
@chef-expeditor chef-expeditor bot deleted the subscriptions branch December 16, 2019 17:56
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