diff --git a/dist/index.js b/dist/index.js index d635fea4..3e28ea3a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2511,7 +2511,7 @@ function isAllowedStatus(status) { if (!jobStatusList.includes(lowercaseStatus)) { throw new Error('Invalid value input'); } - return status; + return lowercaseStatus; } exports.isAllowedStatus = isAllowedStatus; diff --git a/src/utils.ts b/src/utils.ts index e7ef53ff..a3766620 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -10,5 +10,5 @@ export function isAllowedStatus(status: string): string { if (!jobStatusList.includes(lowercaseStatus)) { throw new Error('Invalid value input'); } - return status; + return lowercaseStatus; } \ No newline at end of file