Skip to content

Commit 38fd46d

Browse files
Merge branch 'main' into include-hardwareId-in-auto-selection
2 parents 8cb5a4c + 01ee045 commit 38fd46d

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

arduino-ide-extension/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,7 @@
163163
],
164164
"arduino": {
165165
"cli": {
166-
"version": {
167-
"owner": "arduino",
168-
"repo": "arduino-cli",
169-
"commitish": "c73f735"
170-
}
166+
"version": "0.31.0-rc.1"
171167
},
172168
"fwuploader": {
173169
"version": "2.2.2"

arduino-ide-extension/src/node/sketches-service-impl.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -619,17 +619,16 @@ export class SketchesServiceImpl
619619
}
620620

621621
private tempBuildPathMD5Hash(tempFolderPath: string, path: string): string {
622-
return join(tempFolderPath, this.tempBuildFolderMD5Hash(path));
622+
return join(
623+
tempFolderPath,
624+
'arduino',
625+
'sketches',
626+
this.tempBuildFolderMD5Hash(path)
627+
);
623628
}
624629

625630
private tempBuildFolderMD5Hash(path: string): string {
626-
const hash = crypto
627-
.createHash('md5')
628-
.update(path)
629-
.digest('hex')
630-
.toUpperCase();
631-
const folderName = `arduino-sketch-${hash}`;
632-
return folderName;
631+
return crypto.createHash('md5').update(path).digest('hex').toUpperCase();
633632
}
634633

635634
// Returns the default.ino from the settings or from default folder.

0 commit comments

Comments
 (0)