You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ALZ/Private/Deploy-Accelerator-Helpers/Request-AcceleratorConfigurationInput.ps1
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ function Request-AcceleratorConfigurationInput {
64
64
Write-InformationColored"ERROR: Required configuration file not found: inputs.yaml"-ForegroundColor Red -InformationAction Continue
65
65
}
66
66
Write-InformationColored"Please overwrite the folder structure by choosing 'y', or run New-AcceleratorFolderStructure manually."-ForegroundColor Yellow -InformationAction Continue
67
-
returnNew-AcceleratorResult-Continue $false
67
+
returnConvertTo-AcceleratorResult-Continue $false
68
68
}
69
69
}
70
70
}
@@ -74,29 +74,29 @@ function Request-AcceleratorConfigurationInput {
74
74
if (-not$folderConfig.FolderExists) {
75
75
Write-InformationColored"ERROR: Target folder '$normalizedTargetPath' does not exist."-ForegroundColor Red -InformationAction Continue
76
76
Write-InformationColored"Cannot destroy a deployment that doesn't exist. Please check the path and try again."-ForegroundColor Yellow -InformationAction Continue
77
-
returnNew-AcceleratorResult-Continue $false
77
+
returnConvertTo-AcceleratorResult-Continue $false
78
78
}
79
79
80
80
if (-not (Test-Path-Path $folderConfig.ConfigFolderPath)) {
81
81
Write-InformationColored"ERROR: Config folder not found at '$($folderConfig.ConfigFolderPath)'"-ForegroundColor Red -InformationAction Continue
82
82
Write-InformationColored"Cannot destroy a deployment without configuration files."-ForegroundColor Yellow -InformationAction Continue
83
-
returnNew-AcceleratorResult-Continue $false
83
+
returnConvertTo-AcceleratorResult-Continue $false
84
84
}
85
85
86
86
if (-not (Test-Path-Path $folderConfig.InputsYamlPath)) {
87
87
Write-InformationColored"ERROR: Required configuration file not found: inputs.yaml"-ForegroundColor Red -InformationAction Continue
88
88
Write-InformationColored"Cannot destroy a deployment without inputs.yaml."-ForegroundColor Yellow -InformationAction Continue
89
-
returnNew-AcceleratorResult-Continue $false
89
+
returnConvertTo-AcceleratorResult-Continue $false
90
90
}
91
91
92
92
# Build input config file paths based on detected IaC type
0 commit comments