mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
removed check on .h file existence
This commit is contained in:
committed by
Cristian Maglie
parent
fa9566235d
commit
544445524a
@ -2424,11 +2424,6 @@ public class Base {
|
|||||||
editor.statusError(mess);
|
editor.statusError(mess);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String[] headerFiles = headerListFromIncludePath(libFolder);
|
|
||||||
if (headerFiles == null || headerFiles.length == 0) {
|
|
||||||
editor.statusError(_("Not a valid library: no header files found"));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// copy folder
|
// copy folder
|
||||||
File destinationFolder = new File(getSketchbookLibrariesFolder(), sourceFile.getName());
|
File destinationFolder = new File(getSketchbookLibrariesFolder(), sourceFile.getName());
|
||||||
|
Reference in New Issue
Block a user