Skip to content

Commit

Permalink
Remove more hidden file leniency from plugins
Browse files Browse the repository at this point in the history
This commit removes one more instance of leniency from the plugin
service which skips hidden files in the plugins directory.

Relates #23982
  • Loading branch information
jasontedor committed Apr 13, 2017
1 parent edd16fa commit 12b46bd
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,6 @@ static Set<Bundle> getModuleBundles(Path modulesDirectory) throws IOException {
Set<Bundle> bundles = new LinkedHashSet<>();
try (DirectoryStream<Path> stream = Files.newDirectoryStream(modulesDirectory)) {
for (Path module : stream) {
if (FileSystemUtils.isHidden(module)) {
continue; // skip over .DS_Store etc
}
PluginInfo info = PluginInfo.readFromProperties(module);
Set<URL> urls = new LinkedHashSet<>();
// gather urls for jar files
Expand Down

0 comments on commit 12b46bd

Please sign in to comment.