File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public Context(Label parent, int childIndex) {
2929 private final boolean tolerateParseErrors ;
3030
3131 public JSONExtractor (ExtractorConfig config ) {
32- this .tolerateParseErrors = config . isTolerateParseErrors () ;
32+ this .tolerateParseErrors = true ;
3333 }
3434
3535 @ Override
Original file line number Diff line number Diff line change @@ -303,7 +303,10 @@ public void setupMatchers(ArgsParser ap) {
303303 addIncludesFor (includes , FileType .JS );
304304
305305 // extract TypeScript if `--typescript` or `--typescript-full` was specified
306- if (getTypeScriptMode (ap ) != TypeScriptMode .NONE ) addIncludesFor (includes , FileType .TYPESCRIPT );
306+ if (getTypeScriptMode (ap ) != TypeScriptMode .NONE ) {
307+ addIncludesFor (includes , FileType .TYPESCRIPT );
308+ includes .add ("**/tsconfig*.json" );
309+ }
307310
308311 // add explicit include patterns
309312 for (String pattern : ap .getZeroOrMore (P_INCLUDE ))
You can’t perform that action at this time.
0 commit comments