Skip to content

Commit 9ee7860

Browse files
committed
Fixes
1 parent 5b806eb commit 9ee7860

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/extension.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ export class ClassCompletionItemProvider implements CompletionItemProvider {
6161
if (key === NONE) {
6262
resolve(NONE);
6363
} else {
64-
const items = this.cache.get(key);
65-
66-
if (items) {
64+
if (this.cache.get(key)) {
6765
resolve(key);
6866
} else if (this.isRemote.test(key)) {
6967
this.fetchRemote(key).then(key => resolve(key));

0 commit comments

Comments
 (0)