mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Ignoring rewrite rules if rewriting=disabled is present in target platform.txt
This commit is contained in:
@ -119,10 +119,12 @@ public class LegacyTargetPlatform implements TargetPlatform {
|
|||||||
format(_("Error loading {0}"), localPlatformsFile.getAbsolutePath()), e);
|
format(_("Error loading {0}"), localPlatformsFile.getAbsolutePath()), e);
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
if (!preferences.containsKey("rewriting") || !"disabled".equals(preferences.get("rewriting"))) {
|
||||||
rewriteKeysOfOldPlatformsTxtAndWarnAboutIt();
|
try {
|
||||||
} catch (IOException e) {
|
rewriteKeysOfOldPlatformsTxtAndWarnAboutIt();
|
||||||
throw new TargetPlatformException(e);
|
} catch (IOException e) {
|
||||||
|
throw new TargetPlatformException(e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
File progFile = new File(folder, "programmers.txt");
|
File progFile = new File(folder, "programmers.txt");
|
||||||
|
Reference in New Issue
Block a user