Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail fast for projects with hooks using pwsh #4740

Open
vhvb1989 opened this issue Jan 30, 2025 · 0 comments
Open

Fail fast for projects with hooks using pwsh #4740

vhvb1989 opened this issue Jan 30, 2025 · 0 comments
Assignees
Labels
Milestone

Comments

@vhvb1989
Copy link
Member

vhvb1989 commented Jan 30, 2025

When a template is using hooks with pwsh, azd does not currently validate if pwsh is installed at the beginning of a command (like up or provision)
This results in a bad UX b/c azd could fail in the middle of a long process.

For this issue, implement a fail fast approach to check the hooks definitions and fail if pwsh is missing. Provide a clear message about how to install Powershell 7.

Related issues:

@vhvb1989 vhvb1989 self-assigned this Jan 30, 2025
@kristenwomack kristenwomack added this to the Jan 2025 milestone Jan 30, 2025
@rajeshkamal5050 rajeshkamal5050 modified the milestones: Jan 2025, Feb 2025 Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants