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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user