Add missing break statement (fixes #54).

This commit is contained in:
Fabio Niephaus 2023-08-01 14:11:14 +02:00
parent d189178615
commit c569e64c0b
No known key found for this signature in database
GPG Key ID: F21CF5275F31DFD6
3 changed files with 3 additions and 0 deletions

View File

@ -207,6 +207,7 @@ jobs:
[[ "$GRAALVM_HOME" == *"$RUNNER_TOOL_CACHE"* ]] || exit 12
echo "JAVA_HOME: $JAVA_HOME"
java --version
java --version | grep "Temurin" || exit 23
native-image --version
if: runner.os != 'Windows'
- name: Check Windows environment

1
dist/main/index.js generated vendored
View File

@ -71349,6 +71349,7 @@ function run() {
else {
throw new Error(`Mandrel requires the 'version' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`);
}
break;
case '':
if (javaVersion === c.VERSION_DEV) {
core.info(`This build is using GraalVM Community Edition. To select a specific distribution, use the 'distribution' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`);

View File

@ -58,6 +58,7 @@ async function run(): Promise<void> {
`Mandrel requires the 'version' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`
)
}
break
case '':
if (javaVersion === c.VERSION_DEV) {
core.info(