Skip to content

Commit

Permalink
console no pr found
Browse files Browse the repository at this point in the history
  • Loading branch information
upalatucci committed Feb 14, 2022
1 parent a0a1288 commit 0dcbd96
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ try {
((_a = github.context.payload.pull_request) === null || _a === void 0 ? void 0 : _a.number) !== undefined) {
addReviewers((_b = github.context.payload.pull_request) === null || _b === void 0 ? void 0 : _b.number, selectedReviewers).then(() => console.log("Successfully added reviewers"));
}
else {
console.log('No PR found');
}
console.log("End");
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ try {
addReviewers(github.context.payload.pull_request?.number, selectedReviewers).then(() =>
console.log("Successfully added reviewers")
);
} else {
console.log('No PR found')
}

console.log("End");
Expand Down

0 comments on commit 0dcbd96

Please sign in to comment.