Skip to content

Commit 3af4277

Browse files
committed
fix #665
1 parent 5b115df commit 3af4277

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/client/linters/baseLinter.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ export abstract class BaseLinter {
145145
}
146146
}
147147
else {
148+
if (typeof error === 'string' && (error as string).indexOf("OSError: [Errno 2] No such file or directory: '/") > 0) {
149+
return;
150+
}
148151
vscode.window.showErrorMessage(`There was an error in running the linter '${this.Id}'`, 'Disable linter', 'View Errors').then(item => {
149152
switch (item) {
150153
case 'Disable linter': {

0 commit comments

Comments
 (0)