File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 7
7
import java .util .ArrayList ;
8
8
import java .util .LinkedHashSet ;
9
9
import java .util .List ;
10
+ import java .util .Map ;
10
11
import java .util .Set ;
11
12
import java .util .regex .Pattern ;
12
13
import java .util .stream .Collectors ;
@@ -179,6 +180,12 @@ public void run(String[] args) {
179
180
remainingTypescriptFiles .add (f );
180
181
}
181
182
}
183
+ for (Map .Entry <Path , FileSnippet > entry : extractorState .getSnippets ().entrySet ()) {
184
+ if (!extractedFiles .contains (entry .getKey ().toFile ())
185
+ && FileType .forFileExtension (entry .getKey ().toFile ()) == FileType .TYPESCRIPT ) {
186
+ remainingTypescriptFiles .add (entry .getKey ().toFile ());
187
+ }
188
+ }
182
189
if (!remainingTypescriptFiles .isEmpty ()) {
183
190
tsParser .prepareFiles (remainingTypescriptFiles );
184
191
for (File f : remainingTypescriptFiles ) {
You can’t perform that action at this time.
0 commit comments