Skip to content

Commit acc28df

Browse files
committed
JS: Bugfix in tsconfig file inclusion handling
1 parent 564a687 commit acc28df

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

javascript/extractor/src/com/semmle/js/parser/ParsedProject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public File getTsConfigFile() {
2121

2222
/** Absolute paths to the files included in this project. */
2323
public Set<File> getOwnFiles() {
24-
return allFiles;
24+
return ownFiles;
2525
}
2626

2727
/** Absolute paths to the files included in or referenced by this project. */
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
| A/index.ts:1:1:1:35 | import ... c/foo"; | B/src/foo.ts:1:1:4:0 | <toplevel> |
2+
| B/src/foo.ts:1:1:1:30 | import ... b/bar"; | B/src/lib/bar.ts:1:1:4:0 | <toplevel> |
23
| B/src/lib/bar.ts:1:1:1:26 | import ... "foo"; | B/src/foo.ts:1:1:4:0 | <toplevel> |

0 commit comments

Comments
 (0)