mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-26 15:15:47 +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 () {
|
branch: Class.memoize(function () {
|
||||||
if (this.haveHg)
|
if (this.haveHg)
|
||||||
return io.system(this.haveHg.concat(["branch"])).output;
|
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. */
|
/** @property {string} The Dactyl version string. */
|
||||||
|
|||||||
Reference in New Issue
Block a user