Ensure state is present if no value provided
This commit is contained in:
parent
ba4b2d04d9
commit
af0bcb354d
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ Elseif ($state -eq "absent") {
|
|||
Fail-Json $_.Exception.Message
|
||||
}
|
||||
}
|
||||
Else {
|
||||
$state = "present"
|
||||
}
|
||||
|
||||
$feature_results = @()
|
||||
ForEach ($item in $result.FeatureResult) {
|
||||
|
|
Loading…
Reference in a new issue