Skip to content

Commit 2fd0d35

Browse files
committed
Small update to ProgressWrapper
1 parent ce05a68 commit 2fd0d35

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arduino-core/src/cc/arduino/cli/ProgressWrapper.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ public void update(DownloadProgress d) {
8383
String taskName;
8484

8585
public void update(TaskProgress t) {
86+
if (t == null) {
87+
return;
88+
}
89+
8690
String name = t.getName();
8791
if (!name.isEmpty()) {
8892
taskName = name;

0 commit comments

Comments
 (0)