Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GH2228: Fix CakeTaskExtensions accessibility #2231

Merged
merged 2 commits into from
Aug 16, 2018

Conversation

gitfool
Copy link
Contributor

@gitfool gitfool commented Aug 15, 2018

Fixes #2228

@dnfclas
Copy link

dnfclas commented Aug 15, 2018

CLA assistant check
All CLA requirements met.

@gitfool
Copy link
Contributor Author

gitfool commented Aug 16, 2018

The TeamCity build failed with an unrelated error run git clean.

throw new ArgumentNullException(nameof(criteria));
}
task.Criterias.Add(new CakeTaskCriteria(criteria, message));
task.Criterias.Add(new CakeTaskCriteria(predicate, message));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note:

  • I renamed the parameter from criteria to predicate to match the parameter name in the CakeTaskCriteria ctor
  • I removed the check for null here because the CakeTaskCriteria ctor already does that

Copy link
Member

@devlead devlead left a comment

Choose a reason for hiding this comment

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

LGTM 👍 TeamCity ran fine after rerun.

@devlead devlead merged commit 4143c4b into cake-build:develop Aug 16, 2018
@devlead
Copy link
Member

devlead commented Aug 16, 2018

@gitfool your changes have been merged, thanks for your contribution 👍

@gitfool gitfool deleted the gh2228 branch December 8, 2018 01:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants