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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user