1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-20 14:54:31 +01:00

Update arduino-core/src/processing/app/debug/LegacyTargetPlatform.java

Co-Authored-By: Matthijs Kooijman <matthijs@stdin.nl>
This commit is contained in:
Martino Facchin 2020-04-07 17:35:59 +02:00 committed by Cristian Maglie
parent 737f301c12
commit 156d5d8956

View File

@ -248,6 +248,6 @@ public class LegacyTargetPlatform implements TargetPlatform {
@Override
public boolean isInSketchbook() {
return getFolder().getAbsolutePath().startsWith(BaseNoGui.getDefaultSketchbookFolder().getAbsolutePath());
return getFolder().getAbsolutePath().startsWith(BaseNoGui.getSketchbookHardwareFolder().getAbsolutePath());
}
}