1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-01 03:47:23 +03:00

Removing unused preferences. Fixing upload when not deleting applet/ directory. Treating examples in the sketchbook/libraries folder as read-only.

This commit is contained in:
David A. Mellis
2009-06-18 19:22:43 +00:00
parent bb9525ad24
commit 15cff82214
5 changed files with 15 additions and 56 deletions

View File

@ -482,6 +482,7 @@ public class Compiler implements MessageConsumer {
/////////////////////////////////////////////////////////////////////////////
static private void createFolder(File folder) throws RunnerException {
if (folder.isDirectory()) return;
if (!folder.mkdir())
throw new RunnerException("Couldn't create: " + folder);
}