File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -117,12 +117,14 @@ async function installSdkManager(): Promise<string> {
117117 CMDLINE_TOOLS_VERSION
118118 )
119119
120+ // Create parent directory
120121 fs . mkdirSync ( path . dirname ( desiredLocation ) , { recursive : true } )
121- // @TODO : use io.mv instead of fs-extra once following issue is resolved:
122- // https://github.com/actions/toolkit/issues/706
123122
123+ // Make sure we don't have leftover target directory (happens sometimes...)
124124 if ( fs . existsSync ( desiredLocation ) ) fse . removeSync ( desiredLocation )
125125
126+ // @TODO : use io.mv instead of fs-extra.moveSync once following issue is resolved:
127+ // https://github.com/actions/toolkit/issues/706
126128 fse . moveSync (
127129 path . join ( cmdlineToolsExtractedLocation , 'cmdline-tools' ) ,
128130 desiredLocation
You can’t perform that action at this time.
0 commit comments