diff --git a/dist/index.js b/dist/index.js index 1efe2bb..af181e3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -48,7 +48,7 @@ function get_slim() { VER = response[0].tag_name; } else { - VER = inputTag; + VER = inputVersion; } } catch (_a) { diff --git a/src/index.ts b/src/index.ts index 2bcc89b..141edbc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,7 +43,7 @@ async function get_slim() { if (inputVersion == "" || inputVersion == "latest") { VER = response[0].tag_name; } else { - VER = inputTag; + VER = inputVersion; } } catch { throw new Error('ERROR! Could not retrieve the current Slim version number.');