提交 4c07fbaa 编写于 作者: P pi1024e

Update

上级 63a9242d
...@@ -113,11 +113,11 @@ export class RangeMap { ...@@ -113,11 +113,11 @@ export class RangeMap {
get count(): number { get count(): number {
const len = this.groups.length; const len = this.groups.length;
if (!len) { if (len) {
return 0; return this.groups[len - 1].range.end;
} }
return this.groups[len - 1].range.end; return 0;
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册