File tree Expand file tree Collapse file tree 2 files changed +8
-13
lines changed
Expand file tree Collapse file tree 2 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments