[issue #108] Remove zip extraction leftovers

This commit is contained in:
Vilius Sutkus '89 2021-03-02 03:05:42 +02:00 committed by GitHub
parent 6989f50c81
commit 0bdb2caf82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -124,6 +124,7 @@ async function installSdkManager(): Promise<string> {
path.join(cmdlineToolsExtractedLocation, 'cmdline-tools'),
desiredLocation
)
fse.removeSync(cmdlineToolsExtractedLocation)
sdkManager.exePath = getSdkManagerPath(CMDLINE_TOOLS_VERSION)
sdkManager.isCorrectVersion = true