From 91fd4d0716bb64c2586c24e71ca0f1aec93e3839 Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Mon, 19 Jun 2023 11:11:08 +0200 Subject: [PATCH] Add missing `break` statement. --- dist/main/index.js | 1 + src/main.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/main/index.js b/dist/main/index.js index 097f4d3..e9d0fa5 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -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).`); graalVMHome = yield graalvm.setUpGraalVMJDK(javaVersion); } + break; default: throw new Error(`Unsupported distribution: ${distribution}`); } diff --git a/src/main.ts b/src/main.ts index 7c1cbd3..3e9e177 100644 --- a/src/main.ts +++ b/src/main.ts @@ -66,6 +66,7 @@ async function run(): Promise { ) graalVMHome = await graalvm.setUpGraalVMJDK(javaVersion) } + break default: throw new Error(`Unsupported distribution: ${distribution}`) }