Skip to content

Commit

Permalink
Final log message
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos authored Sep 6, 2023
1 parent acacbf8 commit a1f43b6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Src/PowerShell/entrypoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,14 @@ else {
Write-Host "Installing module for the yaml parsing"
Install-Module -Name $moduleName -Force -Scope CurrentUser -AllowClobber
}
Import-Module powershell-yaml -Force

try {
Import-Module powershell-yaml -Force
}
catch {
Write-Error "Error importing the powershell-yaml module"
throw
}

$currentLocation = Get-Location
try {
Expand Down

0 comments on commit a1f43b6

Please sign in to comment.