We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 457f68b commit 18b811cCopy full SHA for 18b811c
Helpers/projectInitCompareOptions.ps1
@@ -10,7 +10,11 @@ $Schemas = @("") # can be empty for SqlServer
10
11
12
flyway auth -IAgreeToTheEula -startEnterpriseTrial
13
-flyway testConnection "-url=$Url" "-user=$User" "-password=$Password" "-schemas=$Schemas"
+$ErrorActionPreference = 'Break'
14
+flyway testConnection "-url=$Url" "-user=$User" "-password=$Password" "-schemas=$Schemas"
15
+if ($LASTEXITCODE -ne 0) {
16
+ exit 1
17
+}
18
19
if (Test-Path -Path "$projectPath\$projectName") {
20
Remove-Item -Path $projectName -Recurse -Force
0 commit comments