Skip to content

Commit

Permalink
Add ** for default lib detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Vigilans committed Nov 27, 2019
1 parent db6fc92 commit 812caed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"object"
],
"default": [
"lib/*.jar"
"lib/**/*.jar"
],
"description": "%configuration.java.dependency.referencedLibraries%",
"scope": "window"
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/libraryController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class LibraryController implements Disposable {
}
}
// Exclude jars in lib/ but not included (to neutrualize jdt.ls lib detection)
for (const library of await searchLibraries("lib/*.jar")) {
for (const library of await searchLibraries("lib/**/*.jar")) {
if (!include.has(library)) {
exclude.add(library);
}
Expand Down

0 comments on commit 812caed

Please sign in to comment.