Azure-Samples / aks-store-demo

Sample microservices app for AKS demos, tutorials, and experiments
MIT License
136 stars 216 forks source link

Missing closing '}' #151

Closed charris-msft closed 1 month ago

charris-msft commented 2 months ago

Describe the bug

ERROR: error executing step command 'deploy --all': failed running pre hooks: 'predeploy' hook failed with exit code: '1', Path: 'azd-hooks\predeploy.ps1'. : exit code: 1, stdout: , stderr: ParserError: C:\git\azure_agent\aks-store-demo\azd-hooks\predeploy.ps1:79
Line |
  79 |  if ($env:AZURE_SERVICE_BUS_HOST) {
     |                                   ~
     | Missing closing '}' in statement block or type definition.

image

To Reproduce Steps to reproduce the behavior:

  1. Run azd up
  2. Wait a long time
  3. See error

Expected behavior No error occurs

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

pauldotyu commented 1 month ago

Thanks for the heads up @charris-msft will take a look.