microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
291 stars 132 forks source link

Fix creating a function app with no workspace open #4061

Closed motm32 closed 6 months ago

motm32 commented 6 months ago

I was checking telemetry today and noticed the error count was a little high for the create function app telemetry event. Looking further into we were blocking users from creating a function app when no workspace was open. This happened due to the containerized function app flow checking for a dockerfile in the workspace. I added a check to see if a workspace was open before running this step which should fix that issue.