Skip to content

Conversation

@erikhuizinga
Copy link
Contributor

When kotlin -java contains Java version output like so:

Kotlin version 1.4.20-release-308 (JRE 15.0.1+9)

then kscript --version shows

Java      : JRE 15.0.1+9)

Note the last character, a closing parenthesis that shouldn't be there.
This commit fixes that issue.

When `kotlin -java` contains Java version output like so:

```
Kotlin version 1.4.20-release-308 (JRE 15.0.1+9)
```

then `kscript --version` shows

```
Java      : JRE 15.0.1+9)
```

Note the last character, a closing parenthesis that shouldn't be there.
This commit fixes that issue.
@holgerbrandl holgerbrandl merged commit 8234ca6 into kscripting:master Dec 11, 2020
@holgerbrandl
Copy link
Collaborator

I always love and value this sense for tiny details. Thanks for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants