@@ -13,7 +13,11 @@ export type Inject = {
1313 getIndexHtml : ( ) => string ;
1414} ;
1515
16- async function actualRun ( appInfo : AppInfo , options : Options , inject : Inject ) : Promise < void > {
16+ async function actualRun (
17+ appInfo : AppInfo ,
18+ options : Options ,
19+ inject : Inject ,
20+ ) : Promise < void > {
1721 const { injectFrontend, injectSim, getIndexHtml } = inject ;
1822 options . basePort = await detectPort ( options . basePort ) ;
1923 const instances = new Instances ( appInfo , injectSim , options ) ;
@@ -39,7 +43,11 @@ async function actualRun(appInfo: AppInfo, options: Options, inject: Inject): Pr
3943 open ( "http://localhost:" + options . basePort ) ;
4044}
4145
42- export async function run ( locationStr : string , options : Options , inject : Inject ) : Promise < void > {
46+ export async function run (
47+ locationStr : string ,
48+ options : Options ,
49+ inject : Inject ,
50+ ) : Promise < void > {
4351 let location : Location ;
4452 try {
4553 location = getLocation ( locationStr ) ;
@@ -60,7 +68,7 @@ export async function run(locationStr: string, options: Options, inject: Inject)
6068 console . log ( "Starting webxdc project in:" , locationStr ) ;
6169
6270 try {
63- const appInfo = await getAppInfo ( location )
71+ const appInfo = await getAppInfo ( location ) ;
6472 await actualRun ( appInfo , options , inject ) ;
6573 } catch ( e ) {
6674 if ( e instanceof AppInfoError ) {
0 commit comments