mirror of
https://github.com/reactivecircus/android-emulator-runner.git
synced 2026-09-03 19:09:32 +00:00
Add eslint and prettier.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
/**
|
||||
* Creates and launches a new AVD instance with the specified configurations.
|
||||
*/
|
||||
export async function startEmulator(
|
||||
|
||||
): Promise<void> {
|
||||
export async function startEmulator(): Promise<void> {
|
||||
// TODO
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import { isNumber } from "util";
|
||||
|
||||
export const MIN_API_LEVEL = 21;
|
||||
export const VALID_TARGETS: Array<string> = ['default', 'google_apis'];
|
||||
export const VALID_ABIS: Array<string> = ['x86', 'x86_64'];
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
import * as core from '@actions/core';
|
||||
import { InputOptions } from "@actions/core/lib/core";
|
||||
import { InputOptions } from '@actions/core/lib/core';
|
||||
import { installAndroidSdk } from './sdk-installer';
|
||||
import { checkApiLevel, checkTarget, checkAbi, checkHeadless } from './input-validator';
|
||||
|
||||
@@ -11,7 +11,7 @@ async function run() {
|
||||
}
|
||||
|
||||
// API level of the platform and system image
|
||||
const apiLevel = core.getInput('api-level', <InputOptions>{required: true});
|
||||
const apiLevel = core.getInput('api-level', { required: true } as InputOptions);
|
||||
checkApiLevel(apiLevel);
|
||||
console.log(`API level: ${apiLevel}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user