From 3c1009494bcc430f8f79bfe8d3f5e8cf5fef560a Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 6 Mar 2011 17:38:32 +1100 Subject: [PATCH] Fix reporting the bug report warning for XPIs created from the default branch. --- common/modules/config.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/config.jsm b/common/modules/config.jsm index 7cedbfeb..627551ba 100644 --- a/common/modules/config.jsm +++ b/common/modules/config.jsm @@ -144,7 +144,7 @@ var ConfigBase = Class("ConfigBase", { branch: Class.memoize(function () { if (this.haveHg) return io.system(this.haveHg.concat(["branch"])).output; - return (/pre-hg\d+-(\S*)$/.exec(this.version) || [])[1]; + return (/pre-hg\d+-(\S*)/.exec(this.version) || [])[1]; }), /** @property {string} The Dactyl version string. */