helping build

This commit is contained in:
rusefillc 2022-06-02 15:25:10 -04:00
parent 68801865f3
commit 14cf368dcc
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -201,11 +201,11 @@ public class PinoutLogic {
File dirName = new File(dirPath);
FilenameFilter filter = (f, name) -> name.endsWith(".yaml");
File[] boardYamlFiles = dirName.listFiles(filter);
Arrays.sort(boardYamlFiles);
if (boardYamlFiles == null) {
log.info("No yaml files in " + dirPath);
return null;
}
Arrays.sort(boardYamlFiles);
return new PinoutLogic(boardName, boardYamlFiles);
}