We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e3b072 commit fe41d47Copy full SHA for fe41d47
io.sloeber.core/src/io/sloeber/core/tools/TxtFile.java
@@ -429,6 +429,9 @@ public String getArchitecture() {
429
430
IPath platformFile = new Path(this.mLastLoadedTxtFile.toString().trim());
431
String architecture = platformFile.removeLastSegments(1).lastSegment();
432
+ if (architecture==null) {//for error conditions
433
+ architecture="avr"; //$NON-NLS-1$
434
+ }
435
if (architecture.contains(Const.DOT)) { // This is a version number so
436
// package
437
architecture = platformFile.removeLastSegments(2).lastSegment();
0 commit comments