1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 21:44:12 +01:00

Fix reporting the bug report warning for XPIs created from the default branch.

This commit is contained in:
Doug Kearns
2011-03-06 17:38:32 +11:00
parent 30b0c8f43e
commit 3c1009494b

View File

@@ -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. */