Skip to content

Commit 9f228c6

Browse files
committed
Fix zignd#26
1 parent 26107b8 commit 9f228c6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/extension.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ function cache(): Promise<void> {
2020
console.log('Looking for parseable documents...');
2121
let uris: vscode.Uri[] = await Fetcher.findAllParseableDocuments();
2222

23+
if (!uris) {
24+
console.log("Found no documents");
25+
notifier.statusBarItem.hide();
26+
return;
27+
}
28+
2329
console.log('Found all parseable documents.');
2430
let definitions: CssClassDefinition[] = [];
2531

0 commit comments

Comments
 (0)