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:
parent
612333d157
commit
d9dc195971
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user