File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -165,8 +165,10 @@ function allIncluded(outputTarget = 'email') {
165
165
166
166
if ( ! items . showOpenLabel ) {
167
167
showOpenLabel = false ;
168
- pr_open_button = '' ;
168
+ pr_unmerged_button = '' ;
169
169
issue_opened_button = '' ;
170
+ pr_merged_button = '' ;
171
+ issue_closed_button = '' ;
170
172
}
171
173
if ( items . githubCache ) {
172
174
githubCache . data = items . githubCache . data ;
@@ -848,7 +850,7 @@ ${userReason}`;
848
850
}
849
851
}
850
852
851
- function writeGithubIssuesPrs ( ) {
853
+ async function writeGithubIssuesPrs ( ) {
852
854
let items = githubIssuesData . items ;
853
855
lastWeekArray = [ ] ;
854
856
nextWeekArray = [ ] ;
@@ -921,7 +923,7 @@ ${userReason}`;
921
923
if ( isDraft ) {
922
924
li = `<li><i>(${ project } )</i> - Made PR (#${ number } ) - <a href='${ html_url } '>${ title } </a> ${ pr_draft_button } </li>` ;
923
925
} else if ( item . state === 'open' ) {
924
- li = `<li><i>(${ project } )</i> - Made PR (#${ number } ) - <a href='${ html_url } '>${ title } </a> ${ pr_unmerged_button } ` ;
926
+ li = `<li><i>(${ project } )</i> - Made PR (#${ number } ) - <a href='${ html_url } '>${ title } </a> ${ pr_open_button } ` ;
925
927
if ( showCommits && item . _lastCommits && item . _lastCommits . length ) {
926
928
item . _lastCommits = item . _allCommits . slice ( 0 , numCommits ) ;
927
929
item . _lastCommits . forEach ( commit => {
You can’t perform that action at this time.
0 commit comments