Skip to content

Commit b50b2f4

Browse files
chore: typo and missed async keyword (mozilla#3177)
1 parent c4471a7 commit b50b2f4

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/extension-runners/firefox-android.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ export class FirefoxAndroidExtensionRunner {
506506

507507
const tcpPort = await findFreeTcpPort();
508508

509-
// Log the choosen tcp port at info level (useful to the user to be able
509+
// Log the chosen tcp port at info level (useful to the user to be able
510510
// to connect the Firefox DevTools to the Firefox for Android instance).
511511
log.info(`You can connect to this Android device on TCP port ${tcpPort}`);
512512

src/firefox/preferences.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const prefsCommon = {
4242
'extensions.enabledScopes': 5,
4343
// Disable metadata caching for installed add-ons by default.
4444
'extensions.getAddons.cache.enabled': false,
45-
// Disable intalling any distribution add-ons.
45+
// Disable installing any distribution add-ons.
4646
'extensions.installDistroAddons': false,
4747
// Allow installing extensions dropped into the profile folder.
4848
'extensions.autoDisableScopes': 10,

src/firefox/rdp-client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function parseRDPMessage(data) {
4747
}
4848
}
4949

50-
export function connectToFirefox(port) {
50+
export async function connectToFirefox(port) {
5151
const client = new FirefoxRDPClient();
5252
return client.connect(port).then(() => client);
5353
}
@@ -252,7 +252,7 @@ export default class FirefoxRDPClient extends EventEmitter {
252252
}
253253

254254
this._handleMessage(rdpMessage);
255-
// Caller can try to parse the next message from the remining data.
255+
// Caller can try to parse the next message from the remaining data.
256256
return true;
257257
}
258258

src/program.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ export class Program {
343343
}
344344
}
345345

346-
//A defintion of type of argument for defaultVersionGetter
346+
//A definition of type of argument for defaultVersionGetter
347347

348348
export async function defaultVersionGetter(
349349
absolutePackageDir,

src/util/adb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default class ADBUtils {
6262
this.userAbortDiscovery = false;
6363
}
6464

65-
runShellCommand(deviceId, cmd) {
65+
async runShellCommand(deviceId, cmd) {
6666
const { adb, adbClient } = this;
6767

6868
log.debug(`Run adb shell command on ${deviceId}: ${JSON.stringify(cmd)}`);

0 commit comments

Comments
 (0)