We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be3251 commit 6b67178Copy full SHA for 6b67178
src/extension.ts
@@ -67,7 +67,7 @@ class ClassCompletionItemProvider implements CompletionItemProvider {
67
const items = new Map<string, CompletionItem>();
68
69
fetch(key).then(res => {
70
- if (res.status < 400) {
+ if (res.ok) {
71
res.text().then(text => {
72
this.parseTextToItems(text, items);
73
this.cache.set(key, items);
0 commit comments