debug ScriptAnalayzer output

This commit is contained in:
OCram85 2022-06-28 09:49:47 +02:00
parent f98fa915cc
commit fee389dc2e

View File

@ -114,8 +114,8 @@ function Invoke-Linter {
}
}
catch {
Write-Debug -Message $_.Exception.Message -Debug
Write-Error -Message 'PSScriptAnalyzer failer'
Write-Error -Message $_.Exception.Message -ErrorAction 'Stop'
}
}
}