Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Panayil <[email protected]>
  • Loading branch information
sachin-panayil committed Dec 20, 2024
1 parent f23a7c2 commit ab87c5e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,6 @@ function run(disableRetry) {
// verify the output type is correct
if (OUTPUT_TYPE !== 'exit-code' && OUTPUT_TYPE !== 'issue' && OUTPUT_TYPE !== "pull-request")
throw new Error(`Invalid output paramter value ${OUTPUT_TYPE} There is another error here`);
// verify the pull requests label name is a string
if (!PULL_REQUEST_LABELS)
throw new Error(`Invalid label name value ${PULL_REQUEST_LABELS}`);
// verify the label name is a string
if (!LABEL_NAME)
throw new Error(`Invalid label name value ${LABEL_NAME}`);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ export default async function run(disableRetry?: boolean): Promise<void> {
// verify the output type is correct
if (OUTPUT_TYPE!== 'exit-code' && OUTPUT_TYPE !== 'issue' && OUTPUT_TYPE !== "pull-request")
throw new Error(`Invalid output paramter value ${ OUTPUT_TYPE} There is another error here`)
// verify the pull requests label name is a string
if (!PULL_REQUEST_LABELS) throw new Error(`Invalid label name value ${PULL_REQUEST_LABELS}`)
// verify the label name is a string
if (!LABEL_NAME) throw new Error(`Invalid label name value ${LABEL_NAME}`)
// verify the label color is a color
Expand Down

0 comments on commit ab87c5e

Please sign in to comment.