This commit is contained in:
pi1024e 2019-07-23 14:19:53 -04:00
parent 63a9242df2
commit 4c07fbaa60

View file

@ -113,11 +113,11 @@ export class RangeMap {
get count(): number {
const len = this.groups.length;
if (!len) {
return 0;
if (len) {
return this.groups[len - 1].range.end;
}
return this.groups[len - 1].range.end;
return 0;
}
/**