diff options
author | Jui Hanamshet (SHE/HER) <juihanamshet@microsoft.com> | 2022-07-26 19:31:24 +0300 |
---|---|---|
committer | Jui Hanamshet (SHE/HER) <juihanamshet@microsoft.com> | 2022-07-26 19:31:24 +0300 |
commit | ce10de94db823cfda32a9103ee4d59e2cb38d218 (patch) | |
tree | 839f2dd555b2bd8df4140ada0b107352bb7a86f0 /src/vs | |
parent | 6bb3909461539c26e609b6cacac37d6b0e138bfc (diff) |
fixing != to be !==
Diffstat (limited to 'src/vs')
-rw-r--r-- | src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.ts b/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.ts index 4050b76b17b..bb49228f345 100644 --- a/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.ts +++ b/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.ts @@ -727,7 +727,7 @@ export async function provideInlineCompletions( } // Modify range depending on if brackets are added or removed - if (insertText.length != item.insertText.length) { + if (insertText.length !== item.insertText.length) { const diff = insertText.length - item.insertText.length; range = new Range(range.startLineNumber, range.startColumn, range.endLineNumber, range.endColumn + diff); } |