diff --git a/arduino-ide-extension/src/node/sketches-service-impl.ts b/arduino-ide-extension/src/node/sketches-service-impl.ts index f79e8480..643f96ed 100644 --- a/arduino-ide-extension/src/node/sketches-service-impl.ts +++ b/arduino-ide-extension/src/node/sketches-service-impl.ts @@ -324,7 +324,7 @@ void loop() { for (let i = 0; i < files.length; i++) { if (files[i] === basename + '.ino') { try { - await this.loadSketch(fsPath); + await this.loadSketch(FileUri.create(fsPath).toString()); return true; } catch { } }