diff --git a/.gitignore b/.gitignore index 4eec593..4e4bfe1 100644 --- a/.gitignore +++ b/.gitignore @@ -53,4 +53,5 @@ templates/basic/terraform.tfvars templates/.test_azuredevops templates/.test_github .vscode/settings.json -/ALZ \ No newline at end of file +/ALZ +.tools \ No newline at end of file diff --git a/src/ALZ/Public/Deploy-Accelerator.ps1 b/src/ALZ/Public/Deploy-Accelerator.ps1 index 77a0ac4..38d4bcc 100644 --- a/src/ALZ/Public/Deploy-Accelerator.ps1 +++ b/src/ALZ/Public/Deploy-Accelerator.ps1 @@ -182,14 +182,14 @@ function Deploy-Accelerator { $ProgressPreference = "SilentlyContinue" - if(-not $skip_requirements_check) { + if($skip_requirements_check.IsPresent) { + Write-InformationColored "WARNING: Skipping the software requirements check..." -ForegroundColor Yellow -InformationAction Continue + } else { Write-InformationColored "Checking the software requirements for the Accelerator..." -ForegroundColor Green -InformationAction Continue Test-Tooling - } else { - Write-InformationColored "Skipping the software requirements check..." -ForegroundColor Yellow -InformationAction Continue } - Write-InformationColored "Getting ready to deploy the accelerator with you..." -ForegroundColor Green -InformationAction Continue + Write-InformationColored "Getting ready to deploy the accelerator with you..." -ForegroundColor Green -NewLineBefore -InformationAction Continue if ($PSCmdlet.ShouldProcess("Accelerator setup", "modify")) {