File tree 2 files changed +8
-13
lines changed
2 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 163
163
],
164
164
"arduino" : {
165
165
"cli" : {
166
- "version" : {
167
- "owner" : " arduino" ,
168
- "repo" : " arduino-cli" ,
169
- "commitish" : " c73f735"
170
- }
166
+ "version" : " 0.31.0-rc.1"
171
167
},
172
168
"fwuploader" : {
173
169
"version" : " 2.2.2"
Original file line number Diff line number Diff line change @@ -619,17 +619,16 @@ export class SketchesServiceImpl
619
619
}
620
620
621
621
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
+ ) ;
623
628
}
624
629
625
630
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 ( ) ;
633
632
}
634
633
635
634
// Returns the default.ino from the settings or from default folder.
You can’t perform that action at this time.
0 commit comments