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 1137f4b commit 271ef9dCopy full SHA for 271ef9d
src/IncrementalChecker.ts
@@ -239,11 +239,11 @@ class IncrementalChecker {
239
this.linter.lint(fileName, undefined, this.linterConfig);
240
} catch (e) {
241
if (
242
- fs.existsSync(fileName) &&
243
- // check the error type due to file system lag
244
- !(e instanceof Error) &&
245
- !(e.constructor.name === 'FatalError') &&
246
- !(e.message && e.message.trim().startsWith('Invalid source file')
+ fs.existsSync(fileName) &&
+ // check the error type due to file system lag
+ !(e instanceof Error) &&
+ !(e.constructor.name === 'FatalError') &&
+ !(e.message && e.message.trim().startsWith("Invalid source file"))
247
) {
248
// it's not because file doesn't exist - throw error
249
throw e;
0 commit comments