From 33ec67109ba6eca29693a283344136612fe763cf Mon Sep 17 00:00:00 2001 From: Francesco Spissu Date: Wed, 31 Aug 2022 12:23:04 +0200 Subject: [PATCH] mark as recently opened only sketches that not includes sketch_ in the name --- arduino-ide-extension/src/node/sketches-service-impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino-ide-extension/src/node/sketches-service-impl.ts b/arduino-ide-extension/src/node/sketches-service-impl.ts index 0912d473..bc72a297 100644 --- a/arduino-ide-extension/src/node/sketches-service-impl.ts +++ b/arduino-ide-extension/src/node/sketches-service-impl.ts @@ -277,7 +277,7 @@ export class SketchesServiceImpl } catch { return; } - if (await this.isTemp(sketch)) { + if ((await this.isTemp(sketch)) && sketch.name.includes('sketch_')) { return; }