Skip to content

Commit 156d5d8

Browse files
facchinmmatthijskooijman
authored andcommitted
Update arduino-core/src/processing/app/debug/LegacyTargetPlatform.java
Co-Authored-By: Matthijs Kooijman <matthijs@stdin.nl>
1 parent 737f301 commit 156d5d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,6 @@ public String toString() {
248248

249249
@Override
250250
public boolean isInSketchbook() {
251-
return getFolder().getAbsolutePath().startsWith(BaseNoGui.getDefaultSketchbookFolder().getAbsolutePath());
251+
return getFolder().getAbsolutePath().startsWith(BaseNoGui.getSketchbookHardwareFolder().getAbsolutePath());
252252
}
253253
}

0 commit comments

Comments
 (0)