File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
348348export async function defaultVersionGetter (
349349 absolutePackageDir ,
Original file line number Diff line number Diff 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 ) } ` ) ;
You can’t perform that action at this time.
0 commit comments