Skip to content

Commit fd4fff0

Browse files
committed
Remove obsolete code
1 parent c2283d6 commit fd4fff0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/reporter/github.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ export default class GitHub {
165165

166166
const updatedIssue = await this.updateIssue(issue, { state: GitHub.ISSUE_STATE_CLOSED });
167167

168-
this.issuesCache.set(updatedIssue.title, updatedIssue);
169168
logger.info(`Closed issue with comment #${updatedIssue.number}: ${updatedIssue.html_url}`);
170169
} catch (error) {
171170
logger.error(`Failed to close issue with comment "${title}": ${error.stack}`);
@@ -194,7 +193,6 @@ export default class GitHub {
194193

195194
await this.addCommentToIssue({ issue, comment: description });
196195

197-
this.issuesCache.set(updatedIssue.title, updatedIssue);
198196
logger.info(`Updated issue with comment #${updatedIssue.number}: ${updatedIssue.html_url}`);
199197
} catch (error) {
200198
logger.error(`Failed to update issue "${title}": ${error.stack}`);

0 commit comments

Comments
 (0)