Boards Manager: if a tool is not resolvable, print a warning and DON'T add a null ref

This commit is contained in:
Federico Fissore 2015-09-11 14:02:16 +02:00
parent d9a7b5df41
commit 57bff44d0a
1 changed files with 2 additions and 1 deletions

View File

@ -78,8 +78,9 @@ public abstract class ContributedPlatform extends DownloadableContribution {
ContributedTool tool = dep.resolve(packages);
if (tool == null) {
System.err.println("Index error: could not find referenced tool " + dep);
} else {
resolvedTools.add(tool);
}
resolvedTools.add(tool);
}
}