Skip to content

Commit 271ef9d

Browse files
author
Joshua Causey
authored
Fixing syntactical errors
1 parent 1137f4b commit 271ef9d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/IncrementalChecker.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,11 @@ class IncrementalChecker {
239239
this.linter.lint(fileName, undefined, this.linterConfig);
240240
} catch (e) {
241241
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')
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"))
247247
) {
248248
// it's not because file doesn't exist - throw error
249249
throw e;

0 commit comments

Comments
 (0)