File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -130,11 +130,13 @@ class DocumentLinter {
130
130
switch ( this . _state ) {
131
131
case DocumentLinterState . NO_PARSER :
132
132
await this . _createParser ( ) ;
133
- return await this . editorChangedVisibilityAsync ( ) ;
133
+ await this . editorChangedVisibilityAsync ( ) ;
134
+ break ;
134
135
135
136
case DocumentLinterState . CREATING_PARSER :
136
137
await this . _parserPromise ;
137
- return await this . editorChangedVisibilityAsync ( ) ;
138
+ await this . editorChangedVisibilityAsync ( ) ;
139
+ break ;
138
140
139
141
case DocumentLinterState . PARSER_UNINITIALIZED :
140
142
await this . _initializeParserAsync ( ) ;
@@ -347,7 +349,6 @@ class DocumentLinterCollection {
347
349
}
348
350
349
351
async disposeAsync ( ) {
350
- let linters = this . _linters ;
351
352
this . _linters = new Map ( ) ;
352
353
for ( let [ _uri , linter ] of this . _linters ) {
353
354
await linter . disposeAsync ( ) ;
You can’t perform that action at this time.
0 commit comments