Update the README and fix some typos (#199)

* Updated the readme with the additional targets and fixed some typos

* fix spacing with macos-11

* fix more typos
This commit is contained in:
James Prendergast
2021-12-24 15:15:49 +00:00
committed by GitHub
parent cc46524d3f
commit d15e7110de
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -89,7 +89,7 @@ function launchEmulator(apiLevel, target, arch, profile, cores, ramSize, sdcardP
}
exports.launchEmulator = launchEmulator;
/**
* Kills the running emulator on the defaut port.
* Kills the running emulator on the default port.
*/
function killEmulator() {
return __awaiter(this, void 0, void 0, function* () {
@@ -110,7 +110,7 @@ function waitForDevice() {
let booted = false;
let attempts = 0;
const retryInterval = 2; // retry every 2 seconds
const maxAttemps = EMULATOR_BOOT_TIMEOUT_SECONDS / 2;
const maxAttempts = EMULATOR_BOOT_TIMEOUT_SECONDS / 2;
while (!booted) {
try {
let result = '';
@@ -130,7 +130,7 @@ function waitForDevice() {
catch (error) {
console.warn(error.message);
}
if (attempts < maxAttemps) {
if (attempts < maxAttempts) {
yield delay(retryInterval * 1000);
}
else {