Skip to content

Commit

Permalink
Support searching domain path in app
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Jan 13, 2024
1 parent 7c71eb1 commit 3aac6f6
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ private void initializeForSearchLocation(String searchLocation) {
this.classSearchDirectories.add(directory.getCanonicalPath());
}
}
File[] appDirectories = new File(searchLocationPlusSlash + "app")
.listFiles(file -> file.isDirectory() && !file.isHidden());

if (appDirectories != null) {
for (File directory : appDirectories) {
this.classSearchDirectories.add(directory.getCanonicalPath());
}
}
}
catch (IOException ignored) {
}
Expand Down

0 comments on commit 3aac6f6

Please sign in to comment.