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
a9018e09bb
commit
27f88822ed
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