mirror of
https://github.com/android-actions/setup-android
synced 2024-11-22 05:29:34 -08:00
Fix lint problems
This commit is contained in:
parent
aceb0eac9b
commit
e5fc925f91
1 changed files with 6 additions and 1 deletions
|
@ -45,7 +45,12 @@ async function install(): Promise<string> {
|
||||||
} else if (process.platform === 'win32') {
|
} else if (process.platform === 'win32') {
|
||||||
const cmdlineToolsZip = await tc.downloadTool(COMMANDLINE_TOOLS_WIN_URL)
|
const cmdlineToolsZip = await tc.downloadTool(COMMANDLINE_TOOLS_WIN_URL)
|
||||||
const cmdlineTools = await tc.extractZip(cmdlineToolsZip)
|
const cmdlineTools = await tc.extractZip(cmdlineToolsZip)
|
||||||
sdkManager = path.join(cmdlineTools, 'cmdline-tools', 'bin', 'sdkmanager.bat')
|
sdkManager = path.join(
|
||||||
|
cmdlineTools,
|
||||||
|
'cmdline-tools',
|
||||||
|
'bin',
|
||||||
|
'sdkmanager.bat'
|
||||||
|
)
|
||||||
} else {
|
} else {
|
||||||
core.error(`Unsupported platform: ${process.platform}`)
|
core.error(`Unsupported platform: ${process.platform}`)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue