mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-02-07 17:00:13 +08:00
Add missing break
statement.
This commit is contained in:
parent
04ca584c1b
commit
91fd4d0716
1
dist/main/index.js
generated
vendored
1
dist/main/index.js
generated
vendored
@ -71158,6 +71158,7 @@ function run() {
|
|||||||
core.info(`This build is using the new Oracle GraalVM. To select a specific distribution, use the 'distribution' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`);
|
core.info(`This build is using the new Oracle GraalVM. To select a specific distribution, use the 'distribution' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`);
|
||||||
graalVMHome = yield graalvm.setUpGraalVMJDK(javaVersion);
|
graalVMHome = yield graalvm.setUpGraalVMJDK(javaVersion);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Error(`Unsupported distribution: ${distribution}`);
|
throw new Error(`Unsupported distribution: ${distribution}`);
|
||||||
}
|
}
|
||||||
|
@ -66,6 +66,7 @@ async function run(): Promise<void> {
|
|||||||
)
|
)
|
||||||
graalVMHome = await graalvm.setUpGraalVMJDK(javaVersion)
|
graalVMHome = await graalvm.setUpGraalVMJDK(javaVersion)
|
||||||
}
|
}
|
||||||
|
break
|
||||||
default:
|
default:
|
||||||
throw new Error(`Unsupported distribution: ${distribution}`)
|
throw new Error(`Unsupported distribution: ${distribution}`)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user