major change to override Write-Error func
This commit is contained in:
@@ -7,6 +7,6 @@ If ( Test-Path $APP_PATH ) {
|
||||
## Delete the existing installed app
|
||||
Write-Output "Deleting ""${APP_PATH}"""
|
||||
Try { Remove-Item $APP_PATH -Recurse -Force }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
Catch { Write-Error $_.Exception.Message }
|
||||
|
||||
} Else { Write-Output "The path specified does not exist: ${APP_PATH}" }
|
||||
Reference in New Issue
Block a user