diff options
author | John McCrae <john.mccrae@progress.com> | 2022-10-19 19:03:49 +0600 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-10-20 16:34:53 +0600 |
commit | 1686ee1cdd14433d925db739c7c52fcc6636081c (patch) | |
tree | f8107a079b3f14ab941e1ce5cb835ef33d0207c6 | |
parent | 91599ef8c4fd88a27b1b44002d5ccc36aca1e65a (diff) | |
download | chef-1686ee1cdd14433d925db739c7c52fcc6636081c.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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 index 3e4d990493..1f4309a67f 100644 --- a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 +++ b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 @@ -11,6 +11,9 @@ try { } } catch { + Write-Output "What version of Windows and PowerShell is this?`n" + $PSVersionTable + 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" Set-ExecutionPolicy Bypass -Scope Process -Force |