Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lexiismadd committed Nov 25, 2022
1 parent 0193b92 commit be1be8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Standard-CT-Module/CT-PS-Standard.psm1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@


trap {
write-host "Terminating error $_"
Write-Host "Script $((Get-ChildItem $MyInvocation.PSCommandPath | Select-Object -Expand Name)) ended at line $(Get-CurrentLineNumber) with exit code $($exiterror)."
Expand All @@ -8,8 +9,6 @@ trap {
Write-Host "Install log (if used) : $($Install_log)"
Write-Host "**********************"
Write-Host ""
Remove-Module "$(Get-ChildItem $PSScriptRoot)\CT-PS-Standard.psm1" -Force
Remove-Item "$(Get-ChildItem $PSScriptRoot)\CT-PS-Standard.psm1" -Force
exit $exiterror
}

Expand Down

0 comments on commit be1be8c

Please sign in to comment.