mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-13 20:06:54 +00:00
Fix lint problems
This commit is contained in:
committed by
Dave Olsthoorn
parent
a9018e09bb
commit
27f88822ed
@@ -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}`)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user