Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefajers authored Jun 24, 2024
1 parent 2b2da13 commit 8e32e52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/functions/Invoke-AzOpsPush.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
}
else {
Write-AzOpsMessage -LogLevel Debug -LogString 'Invoke-AzOpsPush.Resolve.ParameterNotFound' -LogStringValues $FilePath, $parameterPath
if (-not (Test-TemplateDefaultParameters -FilePath $FilePath)) {
if (-not (Test-TemplateDefaultParameter -FilePath $FilePath)) {
continue
}
}
Expand All @@ -331,7 +331,7 @@
else {
Write-AzOpsMessage -LogLevel Debug -LogString 'Invoke-AzOpsPush.Resolve.ParameterNotFound' -LogStringValues $FilePath, $parameterPath
if ((Get-PSFConfigValue -FullName 'AzOps.Core.AllowMultipleTemplateParameterFiles') -eq $true) {
if (-not (Test-TemplateDefaultParameters -FilePath $FilePath)) {
if (-not (Test-TemplateDefaultParameter -FilePath $FilePath)) {
continue
}
}
Expand All @@ -344,7 +344,7 @@
$result
#endregion Case: Template File
}
function Test-TemplateDefaultParameters {
function Test-TemplateDefaultParameter {
param(
[string]$FilePath
)
Expand Down

0 comments on commit 8e32e52

Please sign in to comment.