mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 21:52:24 +00:00
Update
This commit is contained in:
parent
63a9242df2
commit
4c07fbaa60
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue