1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01: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;