1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

removed check on .h file existence

This commit is contained in:
Federico Fissore 2012-12-04 16:45:25 +01:00 committed by Cristian Maglie
parent d458ef7806
commit 9fdb047197

View File

@ -2716,11 +2716,6 @@ public class Base {
editor.statusError(mess);
return;
}
String[] headerFiles = headerListFromIncludePath(libFolder);
if (headerFiles == null || headerFiles.length == 0) {
editor.statusError(_("Not a valid library: no header files found"));
return;
}
// copy folder
File destinationFolder = new File(getSketchbookLibrariesFolder(), sourceFile.getName());