From 09d78544cf1ba91f6ac14dcd1d40c34cdb8efca8 Mon Sep 17 00:00:00 2001 From: Amir Omidi Date: Fri, 18 Oct 2019 13:26:53 -0700 Subject: [PATCH] Update sqlExtHostTypes.ts (#7801) Fix small mistake --- src/sql/workbench/api/common/sqlExtHostTypes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/workbench/api/common/sqlExtHostTypes.ts b/src/sql/workbench/api/common/sqlExtHostTypes.ts index 43cb19f8f1..cdebe8940d 100644 --- a/src/sql/workbench/api/common/sqlExtHostTypes.ts +++ b/src/sql/workbench/api/common/sqlExtHostTypes.ts @@ -549,7 +549,7 @@ export class CellRange { } constructor(start: number, end: number) { - if (typeof (start) !== 'number' || typeof (start) !== 'number' || start < 0 || end < 0) { + if (typeof (start) !== 'number' || typeof (end) !== 'number' || start < 0 || end < 0) { throw new Error('Invalid arguments'); }