jdaugherty commented on code in PR #15557:
URL: https://github.com/apache/grails-core/pull/15557#discussion_r3341576004
##########
grails-shell-cli/src/main/groovy/org/grails/cli/profile/commands/templates/TemplateRendererImpl.groovy:
##########
@@ -74,7 +74,7 @@ class TemplateRendererImpl implements TemplateRenderer,
ProfileRepositoryAware {
@Override
@CompileDynamic
void render(Map<String, Object> namedArguments) {
- if (namedArguments?.template && namedArguments?.destination) {
+ if (namedArguments?.template != null && namedArguments?.destination !=
null) {
Review Comment:
Groovy truth was being used before so if someone passes `template: ''` this
code will still invoke.
--
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]