From 321437a4ab58693a4196785456e7e778f70e7f7f Mon Sep 17 00:00:00 2001 From: AJ Jordan Date: Wed, 14 Feb 2018 18:25:15 -0500 Subject: [PATCH 1/2] Fix bot edit date Apparently this snuck in when I PR'd this hotfix? It was for debugging originally. --- utils/issue-format-bot/lib/issueedit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/issue-format-bot/lib/issueedit.js b/utils/issue-format-bot/lib/issueedit.js index 0ec12c42d7f2..65fbd3235cf4 100644 --- a/utils/issue-format-bot/lib/issueedit.js +++ b/utils/issue-format-bot/lib/issueedit.js @@ -8,7 +8,7 @@ const parse = require('./parse'), _ = require('lodash'); // We do this outside the event handler to avoid setting up and tearing down this object each time a hook is received -const botStartDate = new Date('2018-09-25'); +const botStartDate = new Date('2017-09-25'); // TODO make this share more with newissue.js? From 2324c1f38dfe755aedfa4c2ec60c7642fa032b51 Mon Sep 17 00:00:00 2001 From: AJ Jordan Date: Wed, 14 Feb 2018 18:29:24 -0500 Subject: [PATCH 2/2] Fix typo in a bot response --- utils/issue-format-bot/lib/issueedit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/issue-format-bot/lib/issueedit.js b/utils/issue-format-bot/lib/issueedit.js index 65fbd3235cf4..7ab4d8e39161 100644 --- a/utils/issue-format-bot/lib/issueedit.js +++ b/utils/issue-format-bot/lib/issueedit.js @@ -91,7 +91,7 @@ module.exports = function(robot, alexa) { } else { // Submit a comment telling them what the issues were let comment = 'Thanks for editing!\n\n'; - comment += 'I\'m sorry, but I still couldn\'t to understand your submission. '; + comment += 'I\'m sorry, but I still couldn\'t understand your submission. '; comment += 'Here are the problems I ran into this time:\n\n'; problems.forEach(problem => comment += ` * ${problem}\n`); comment += '\nIf you edit your issue again, I\'ll try again and report back if I have problems again.';