1 parent c658233 commit aafdf06Copy full SHA for aafdf06
2 files changed
src/client/linters/baseLinter.ts
@@ -110,6 +110,7 @@ export abstract class BaseLinter {
110
}).catch(error => {
111
outputChannel.appendLine(`Linting with ${linterId} failed. If not installed please turn if off in settings.\n ${error}`);
112
window.showInformationMessage(`Linting with ${linterId} failed. If not installed please turn if off in settings. View Python output for details.`);
113
+ return [];
114
});
115
116
}
src/client/providers/lintProvider.ts
@@ -131,7 +131,6 @@ export class LintProvider extends vscode.Disposable {
131
132
this.diagnosticCollection.delete(documentUri);
133
this.diagnosticCollection.set(documentUri, messages);
134
- }).catch(error => {
135
136
137
0 commit comments