Skip to content

Commit 5b55a83

Browse files
author
Benjamin Muskalla
committed
Use basename for jars
1 parent 60c7003 commit 5b55a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/Telemetry/ExternalLibraryUsage.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ where
1818
a.getCompilationUnit().getParentContainer*() = jar and
1919
not a.isTestLibrary()
2020
)
21-
select jar.getFile().getStem() + "." + jar.getFile().getExtension(), Usages order by Usages desc
21+
select jar.getFile().getBaseName(), Usages order by Usages desc

0 commit comments

Comments
 (0)