Skip to content

Commit 1a167b7

Browse files
committed
Allow to run empty recipes in platform.txt
1 parent 66c6d49 commit 1a167b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/cc/arduino/packages/Uploader.java

+4
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ protected boolean executeUploadCommand(Collection<String> command) throws Except
8888
}
8989

9090
protected boolean executeUploadCommand(String command[]) throws Exception {
91+
// Skip empty commands
92+
if (command == null || command.length == 0)
93+
return true;
94+
9195
notFoundError = false;
9296
int result = -1;
9397

0 commit comments

Comments
 (0)