This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch wrapper-rewrite
in repository https://gitbox.apache.org/repos/asf/grails-forge.git


The following commit(s) were added to refs/heads/wrapper-rewrite by this push:
     new 710e070  Add missing return statement
710e070 is described below

commit 710e070669ef0212203d580b44266ee4b7fe7648
Author: James Daugherty <[email protected]>
AuthorDate: Wed May 14 00:34:58 2025 -0400

    Add missing return statement
---
 .../main/groovy/org/apache/grails/cli/DelegatingShellApplication.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/grails-cli/src/main/groovy/org/apache/grails/cli/DelegatingShellApplication.groovy
 
b/grails-cli/src/main/groovy/org/apache/grails/cli/DelegatingShellApplication.groovy
index 087b831..e5b9f94 100644
--- 
a/grails-cli/src/main/groovy/org/apache/grails/cli/DelegatingShellApplication.groovy
+++ 
b/grails-cli/src/main/groovy/org/apache/grails/cli/DelegatingShellApplication.groovy
@@ -43,7 +43,7 @@ class DelegatingShellApplication {
         validateShellType(preferredShell)
 
         if(!args) {
-            new Tuple2<>(preferredShell == 'forge', args)
+            return new Tuple2<>(preferredShell == 'forge', args)
         }
 
         List<String> listArgs = args.toList()

Reply via email to