We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a409c10 commit a55a8e8Copy full SHA for a55a8e8
bin/deploy.ps1
@@ -42,7 +42,7 @@ $config = Get-DBOConfig -Path "$PSScriptRoot\dbops.config.json" -Configuration $
42
#Merge custom parameters into a configuration
43
$newConfig = @{}
44
foreach ($key in ($PSBoundParameters.Keys)) {
45
- if ($key -in [DBOpsConfig]::EnumProperties()) {
+ if ($key -in [DBOps.ConfigProperty].GetEnumNames()) {
46
$newConfig.$key = $PSBoundParameters[$key]
47
}
48
@@ -62,8 +62,7 @@ foreach ($key in ($PSBoundParameters.Keys)) {
62
63
if ($PSCmdlet.ShouldProcess($params.PackageFile, "Initiating the deployment of the package")) {
64
Invoke-DBODeployment @params
65
-}
66
-else {
+} else {
67
Invoke-DBODeployment @params -WhatIf
68
69
0 commit comments