Skip to content

Commit 99b4467

Browse files
author
EwanNoble
committed
Change default property flow
1 parent b5fc0d7 commit 99b4467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/EnvironmentConfiguration/task/ps_modules/Handlers/private/schema/Get-SchemaProperty.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function Get-SchemaProperty {
5757
}
5858
}
5959

60-
if (!$TaskVariable -and $null -ne $PropertyObject.Default) {
60+
if ($null -ne $PropertyObject.Default) {
6161
Write-Verbose -Message "No environment variable found but a default value is present in the schema"
6262
$TaskVariable = $PropertyObject.Default.Value
6363
Write-Verbose -Message "Set default value '$TaskVariable'"

0 commit comments

Comments
 (0)