From 848c0c3ada24de41317911ffd190918a8fe1760f Mon Sep 17 00:00:00 2001 From: Tim Taubert Date: Wed, 29 Jun 2016 15:11:03 +0200 Subject: [PATCH] fix duplicate variable declaration --- src/irc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irc.js b/src/irc.js index 6c588c5..508f19d 100644 --- a/src/irc.js +++ b/src/irc.js @@ -40,7 +40,7 @@ function findBugNumber(message) { return match[1]; } - let match = /https:\/\/bugzilla\.mozilla\.org\/show_bug\.cgi\?id=(\d{5,})/.exec(message); + match = /https:\/\/bugzilla\.mozilla\.org\/show_bug\.cgi\?id=(\d{5,})/.exec(message); if (match) { return match[1]; }