File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85552,7 +85552,7 @@ async function run() {
8555285552 try {
8555385553 const versionType = core.getInput("version");
8555485554 // validate the version input. Should be one of the VersionTypes.
85555- if (isValidVersionType(versionType)) {
85555+ if (! isValidVersionType(versionType)) {
8555685556 core.setFailed(`Invalid version input: ${versionType}. Valid options are: ${Object.values(VersionType).join(", ")}. Defaulting to 'latest'.`);
8555785557 return;
8555885558 }
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ async function run(): Promise<void> {
7272 try {
7373 const versionType = core . getInput ( "version" ) as VersionType ;
7474 // validate the version input. Should be one of the VersionTypes.
75- if ( isValidVersionType ( versionType ) ) {
75+ if ( ! isValidVersionType ( versionType ) ) {
7676 core . setFailed (
7777 `Invalid version input: ${ versionType } . Valid options are: ${ Object . values ( VersionType ) . join ( ", " ) } . Defaulting to 'latest'.` ,
7878 ) ;
You can’t perform that action at this time.
0 commit comments