mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Fixed compile errors caused by 1.8.0
This commit is contained in:
@@ -162,7 +162,7 @@ function isRangeWithMessageArr(something: vscode.Range[]|vscode.DecorationOption
|
||||
if (something.length === 0) {
|
||||
return true;
|
||||
}
|
||||
return isRangeWithMessage(something[0]);
|
||||
return isRangeWithMessage(something[0]) ? true : false;
|
||||
}
|
||||
|
||||
export function fromRangeOrRangeWithMessage(ranges:vscode.Range[]|vscode.DecorationOptions[]): IRangeWithMessage[] {
|
||||
|
||||
Reference in New Issue
Block a user