Skip to content

Commit

Permalink
fix misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
maliroteh-sf committed Oct 26, 2023
1 parent d3c85dd commit dd0017a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/common/AndroidLauncher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class AndroidLauncher {
* @param targetApp The bundle ID of the app to be launched.
* @param appConfig An AndroidAppPreviewConfig object containing app configuration info.
* @param serverPort The port for local dev server.
* @param targettingLwrServer Indicates whether we're previewing using LWC Dev Server (default behavior) or LWR Server.
* @param targetingLwrServer Indicates whether we're previewing using LWC Dev Server (default behavior) or LWR Server.
*/
public async launchPreview(
compName: string,
Expand All @@ -49,7 +49,7 @@ export class AndroidLauncher {
targetApp: string,
appConfig: AndroidAppPreviewConfig | undefined,
serverPort: string,
targettingLwrServer: boolean = false
targetingLwrServer: boolean = false
): Promise<void> {
const preferredPack =
await AndroidUtils.fetchSupportedEmulatorImagePackage();
Expand Down Expand Up @@ -106,7 +106,7 @@ export class AndroidLauncher {

if (PreviewUtils.isTargetingBrowser(targetApp)) {
let url = '';
if (targettingLwrServer) {
if (targetingLwrServer) {
url = `${address}:${port}`;
} else {
const compPath =
Expand Down
6 changes: 3 additions & 3 deletions src/common/IOSLauncher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class IOSLauncher {
* @param targetApp The bundle ID of the app to be launched.
* @param appConfig An AndroidAppPreviewConfig object containing app configuration info.
* @param serverPort The port for local dev server.
* @param targettingLwrServer Indicates whether we're previewing using LWC Dev Server (default behavior) or LWR Server.
* @param targetingLwrServer Indicates whether we're previewing using LWC Dev Server (default behavior) or LWR Server.
*/
public async launchPreview(
compName: string,
Expand All @@ -49,7 +49,7 @@ export class IOSLauncher {
targetApp: string,
appConfig: IOSAppPreviewConfig | undefined,
serverPort: string,
targettingLwrServer: boolean = false
targetingLwrServer: boolean = false
): Promise<void> {
const availableDevices: string[] = await IOSUtils.getSupportedDevices();
const supportedRuntimes: string[] =
Expand Down Expand Up @@ -107,7 +107,7 @@ export class IOSLauncher {

if (PreviewUtils.isTargetingBrowser(targetApp)) {
let url = '';
if (targettingLwrServer) {
if (targetingLwrServer) {
url = `${address}:${port}`;
} else {
const compPath =
Expand Down

0 comments on commit dd0017a

Please sign in to comment.