Skip to content

core: Hardening/Fail-fast for projects with hooks using pwsh #4740

Description

@vhvb1989

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:

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions