mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
fix npe
This commit is contained in:
@@ -12,7 +12,9 @@ class PluginDependencyTracker {
|
||||
private final Map<String, Collection<String>> plugins = new HashMap<>();
|
||||
|
||||
void addInstalled(PluginDescriptor plugin) {
|
||||
plugin.getDependencies().forEach(dependency -> addDependency(plugin.getInformation().getName(), dependency));
|
||||
if (plugin.getDependencies() != null) {
|
||||
plugin.getDependencies().forEach(dependency -> addDependency(plugin.getInformation().getName(), dependency));
|
||||
}
|
||||
}
|
||||
|
||||
void removeInstalled(PluginDescriptor plugin) {
|
||||
|
||||
Reference in New Issue
Block a user