Skip to content

Commit

Permalink
build 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Naturalclar committed Sep 30, 2020
1 parent 744cd93 commit ef24f19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9738,10 +9738,10 @@ exports.getIssueContent = (token, titleOrBody) => __awaiter(void 0, void 0, void
throw new Error("No Issue Provided");
}
const { data } = yield octokit.issues.get(Object.assign(Object.assign({}, github_1.getRepo()), { issue_number }));
if (titleOrBody === 'title') {
if (titleOrBody === "title") {
return data.title;
}
else if (titleOrBody === 'body') {
else if (titleOrBody === "body") {
return data.body;
}
else {
Expand Down

0 comments on commit ef24f19

Please sign in to comment.