We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a7bf7b commit 0a55500Copy full SHA for 0a55500
1 file changed
src/main/groovy/com/github/mrsarm/jshell/plugin/JShellPlugin.groovy
@@ -65,7 +65,7 @@ class JShellPlugin implements Plugin<Project> {
65
}
66
67
// Exclude non-directory / non-jar files that jshell doesn't deal with
68
- pathSet = pathSet.findAll{ it.isDirectory() || it.toString().endsWith('.jar') }
+ pathSet = pathSet.findAll{ new File(it.toString()).isDirectory() || it.toString().endsWith('.jar') }
69
70
def path = pathSet.join(System.getProperty("path.separator"))
71
jshellTask.logger.info(":jshell executing with --class-path {}", path)
0 commit comments