mirror of https://github.com/noisymime/Arduino.git
Boards Manager: if a tool is not resolvable, print a warning and DON'T add a null ref
This commit is contained in:
parent
d9a7b5df41
commit
57bff44d0a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue