Commit e9b444b
authored
Short-circuit before parsing (#224)
In attempting to troubleshoot
#219, I
realized that disabling the plugin using overrides and `importOrder: []`
does not prevent parsing errors. Moving this short-circuit check up
before we attempt to parse will not only solve that problem but also
improve performance a little by avoiding parsing files that we're just
going to short-circuit anyway.1 parent a2c6312 commit e9b444b
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments