Skip to content

Commit afd855f

Browse files
author
Joshua Causey
authored
Removing conditional
1 parent 33db0bd commit afd855f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/IncrementalChecker.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,7 @@ class IncrementalChecker {
240240
} catch (e) {
241241
if (
242242
fs.existsSync(fileName) &&
243-
!e.message.trim().startsWith("Invalid source file") &&
244-
fileName.match(/(.tsx?|.jsx?|.vue)$/)
243+
!e.message.trim().startsWith("Invalid source file")
245244
) {
246245
// it's not because file doesn't exist - throw error
247246
throw e;

0 commit comments

Comments
 (0)