commit
00ae4bb792
|
@ -312,6 +312,10 @@ public class PluginsService extends AbstractComponent {
|
|||
try (DirectoryStream<Path> stream = Files.newDirectoryStream(pluginsDirectory)) {
|
||||
for (Path plugin : stream) {
|
||||
try {
|
||||
if (Files.isHidden(plugin)) {
|
||||
logger.trace("--- skip hidden plugin file[{}]", plugin.toAbsolutePath());
|
||||
continue;
|
||||
}
|
||||
logger.trace("--- adding plugin [{}]", plugin.toAbsolutePath());
|
||||
PluginInfo info = PluginInfo.readFromProperties(plugin);
|
||||
List<URL> urls = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue