mirror of
https://github.com/android-actions/setup-android
synced 2024-11-22 05:29:34 -08:00
Run prettier, to pass format-check
This commit is contained in:
parent
f4de3ae372
commit
469d66c201
3 changed files with 32 additions and 37 deletions
|
@ -25,12 +25,7 @@ export async function install(): Promise<void> {
|
||||||
fs.mkdirSync(ANDROID_REPOSITORIES_DIR, {recursive: true})
|
fs.mkdirSync(ANDROID_REPOSITORIES_DIR, {recursive: true})
|
||||||
fs.closeSync(fs.openSync(ANDROID_REPOSITORIES_CFG, 'w'))
|
fs.closeSync(fs.openSync(ANDROID_REPOSITORIES_CFG, 'w'))
|
||||||
|
|
||||||
const acceptBuffer = Buffer.from(
|
const acceptBuffer = Buffer.from(Array(10).fill('y').join('\n'), 'utf8')
|
||||||
Array(10)
|
|
||||||
.fill('y')
|
|
||||||
.join('\n'),
|
|
||||||
'utf8'
|
|
||||||
)
|
|
||||||
let sdkManager = ''
|
let sdkManager = ''
|
||||||
|
|
||||||
if (process.platform === 'linux') {
|
if (process.platform === 'linux') {
|
||||||
|
|
Loading…
Reference in a new issue