Skip to content

Commit 94063a9

Browse files
committed
#1339 fix another null case
1 parent 39b14d6 commit 94063a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

io.sloeber.core/src/io/sloeber/core/api/BoardDescription.java

+3
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,9 @@ public IPath getArduinoPlatformPath() {
626626
return null;
627627
}
628628
ArduinoPlatformVersion platformVersion = platform.getNewestInstalled();
629+
if(platformVersion==null) {
630+
return null;
631+
}
629632
return platformVersion.getInstallPath();
630633
}
631634

0 commit comments

Comments
 (0)