Skip to content

Commit

Permalink
Fixes shell command run failed
Browse files Browse the repository at this point in the history
Closes gh-19
  • Loading branch information
rainboyan committed Jan 20, 2024
1 parent 2f81776 commit 9cbbfd1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import groovy.transform.CompileStatic
import groovy.transform.InheritConstructors
import org.apache.groovy.groovysh.Groovysh
import org.apache.groovy.groovysh.InteractiveShellRunner
import org.codehaus.groovy.control.CompilerConfiguration
import org.codehaus.groovy.tools.shell.IO
import org.springframework.boot.ApplicationArguments
import org.springframework.boot.ApplicationContextFactory
Expand Down Expand Up @@ -86,6 +87,7 @@ class GrailsShell extends Grails {
bindingCustomizers?.each { customizer -> customizer.customize(binding) }

Groovysh groovysh = new Groovysh(binding, new IO()) {
CompilerConfiguration configuration = CompilerConfiguration.DEFAULT

@Override
void displayWelcomeBanner(InteractiveShellRunner runner) {
Expand Down

0 comments on commit 9cbbfd1

Please sign in to comment.