Merge pull request #141 from bcmi-labs/arduino/arduino-pro-ide#311

GH-311: Fixed FS path to URI conversion issue.
This commit is contained in:
Akos Kitta 2020-08-25 18:10:10 +02:00 committed by GitHub
commit 6aa3ff8044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 { }
}