Fixed compile errors caused by 1.8.0

This commit is contained in:
Dirk Baeumer
2016-02-17 11:39:30 +01:00
parent 033112ea34
commit 70430f5c8c
10 changed files with 34 additions and 19 deletions

View File

@@ -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[] {