1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Allow to run empty recipes in platform.txt

This commit is contained in:
Cristian Maglie
2014-07-28 18:40:53 +02:00
parent 66c6d49325
commit 1a167b7a6f

View File

@ -88,6 +88,10 @@ public abstract class Uploader implements MessageConsumer {
}
protected boolean executeUploadCommand(String command[]) throws Exception {
// Skip empty commands
if (command == null || command.length == 0)
return true;
notFoundError = false;
int result = -1;