mirror of
https://github.com/android-actions/setup-android.git
synced 2024-11-27 12:02:03 +00: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