Skip to content

Commit a91351a

Browse files
committed
Cleanup unused code that caused the build to fail
1 parent 5cb5996 commit a91351a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/arduino.cc/builder/libraries_loader.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,6 @@ func makeNewLibrary(libraryFolder string, debugLevel int, logger i18n.Logger) (*
148148
addUtilityFolder(library)
149149
}
150150

151-
subFolders, err := utils.ReadDirFiltered(libraryFolder, utils.FilterDirs)
152-
if err != nil {
153-
return nil, i18n.WrapError(err)
154-
}
155-
156151
if libProperties[constants.LIBRARY_ARCHITECTURES] == constants.EMPTY_STRING {
157152
libProperties[constants.LIBRARY_ARCHITECTURES] = constants.LIBRARY_ALL_ARCHS
158153
}

0 commit comments

Comments
 (0)