@@ -29,7 +29,7 @@ export class FunctionAppCreateStep extends AzureWizardExecuteStepWithActivityOut
2929 stepName : string = 'createFunctionAppStep' ;
3030 public priority : number = 1000 ;
3131
32- public async execute ( context : IFlexFunctionAppWizardContext , _progress : Progress < { message ?: string ; increment ?: number } > ) : Promise < void > {
32+ public async execute ( context : IFlexFunctionAppWizardContext , progress : Progress < { message ?: string ; increment ?: number } > ) : Promise < void > {
3333 const os : WebsiteOS = nonNullProp ( context , 'newSiteOS' ) ;
3434 const stack : FullFunctionAppStack = nonNullProp ( context , 'newSiteStack' ) ;
3535
@@ -39,6 +39,9 @@ export class FunctionAppCreateStep extends AzureWizardExecuteStepWithActivityOut
3939 context . telemetry . properties . newSiteMinorVersion = stack . minorVersion . value ;
4040 context . telemetry . properties . planSkuTier = context . plan ?. sku ?. tier ;
4141
42+ const message : string = localize ( 'creatingFuncApp' , 'Creating function app "{0}"...' , context . newSiteName ) ;
43+ progress . report ( { message } ) ;
44+
4245 const siteName : string = nonNullProp ( context , 'newSiteName' ) ;
4346 const rgName : string = nonNullProp ( nonNullProp ( context , 'resourceGroup' ) , 'name' ) ;
4447
@@ -241,19 +244,19 @@ export class FunctionAppCreateStep extends AzureWizardExecuteStepWithActivityOut
241244
242245 protected getTreeItemLabel ( context : IFunctionAppWizardContext ) : string {
243246 const siteName : string = nonNullProp ( context , 'newSiteName' ) ;
244- return localize ( 'creatingNewApp' , 'Create new function app "{0}"' , siteName ) ;
247+ return localize ( 'creatingNewApp' , 'Create function app "{0}"' , siteName ) ;
245248 }
246249 protected getOutputLogSuccess ( context : IFunctionAppWizardContext ) : string {
247250 const siteName : string = nonNullProp ( context , 'newSiteName' ) ;
248- return localize ( 'createdNewApp' , 'Successfully created new function app "{0}".' , siteName ) ;
251+ return localize ( 'createdNewApp' , 'Successfully created function app "{0}".' , siteName ) ;
249252 }
250253 protected getOutputLogFail ( context : IFunctionAppWizardContext ) : string {
251254 const siteName : string = nonNullProp ( context , 'newSiteName' ) ;
252- return localize ( 'failedToCreateNewApp' , 'Failed to create new function app "{0}".' , siteName ) ;
255+ return localize ( 'failedToCreateNewApp' , 'Failed to create function app "{0}".' , siteName ) ;
253256 }
254257 protected getOutputLogProgress ( context : IFunctionAppWizardContext ) : string {
255258 const siteName : string = nonNullProp ( context , 'newSiteName' ) ;
256- return localize ( 'creatingNewApp' , 'Creating new function app "{0}"...' , siteName ) ;
259+ return localize ( 'creatingNewApp' , 'Creating function app "{0}"...' , siteName ) ;
257260 }
258261}
259262
0 commit comments