diff options
author | John McCrae <john.mccrae@progress.com> | 2022-10-19 19:18:46 +0600 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-10-20 16:34:54 +0600 |
commit | e8c82068cc34d89cf70bc8f7712cbcdb596e754e (patch) | |
tree | 4a6d5aad288359441fe70db6ee56ffa528425982 | |
parent | 4789f3648d1424eb15ccd9875a3ef0781515718c (diff) | |
download | chef-e8c82068cc34d89cf70bc8f7712cbcdb596e754e.tar.gz |
Correcting for Hab not being installed
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | .expeditor/scripts/ensure-minimum-viable-hab.ps1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 index f6a1b37b1e..2dfc779a3d 100644 --- a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 +++ b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 @@ -4,6 +4,7 @@ try { Write-Host "--- :habicat: Installing the version of Habitat required" Write-Output "What version of Windows and PowerShell is this?`n" $PSVersionTable + [System.Environment]::OSVersion write-ouput "`n" Get-Command Hab Set-ExecutionPolicy Bypass -Scope Process -Force @@ -17,6 +18,7 @@ try { catch { Write-Output "What version of Windows and PowerShell is this?`n" $PSVersionTable + [System.Environment]::OSVersion write-ouput "`n" # This install fails if Hab isn't on the path when we check for the version. This ensures it is installed Write-Host "--- :habicat: Forcing an install of habitat" |