jdaugherty commented on code in PR #15555:
URL: https://github.com/apache/grails-core/pull/15555#discussion_r3041308861
##########
build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/GrailsCodeStylePlugin.groovy:
##########
@@ -108,8 +112,10 @@ class GrailsCodeStylePlugin implements Plugin<Project> {
}
private static void doNotApplyStylingToTests(Project project) {
- project.tasks.named('checkstyleTest') {
- it.enabled = false // Do not check test sources at this time
+ if (project.tasks.names.contains('checkstyleTest')) {
Review Comment:
Can you help me understand why this change was necessary?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]