Remove extraneous unconditional bicep invocation (#6799)

Fails if you don't have `bicep` installed but do have `az bicep` and was unnecessary since the check below it did it anyway.

Co-authored-by: Heath Stewart <heaths@microsoft.com>
This commit is contained in:
Azure SDK Bot 2025-10-21 14:23:17 -07:00 committed by GitHub
parent 612333d157
commit d9dc195971
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -185,8 +185,6 @@ function LintBicepFile([string] $path) {
}
# Work around lack of config file override: https://github.com/Azure/bicep/issues/5013
$output = bicep lint $path 2>&1
if ($useBicepCli) {
$output = bicep lint $path 2>&1
} else {