update pwsh style in drone helper

This commit is contained in:
OCram85 2022-06-14 09:30:07 +02:00
parent 9f7cac860e
commit 533755c2bf

View File

@ -1,6 +1,6 @@
$Global:ProgressPreference = 'SilentlyContinue'
function Invoke-ShowEnv() {
function Invoke-ShowEnv {
[CmdletBinding()]
param ()
@ -9,9 +9,8 @@ function Invoke-ShowEnv() {
}
}
function Invoke-InstallDependencies() {
function Invoke-InstallDependencies {
[CmdletBinding()]
[OutputType()]
param ()
process {
@ -35,7 +34,7 @@ function Invoke-InstallDependencies() {
}
}
function Invoke-Linter () {
function Invoke-Linter {
[CmdletBinding()]
param ()
@ -46,10 +45,9 @@ function Invoke-Linter () {
function Invoke-UnitTests {
[CmdletBinding()]
Param()
param ()
process {
try {
Write-Host '===== Preload internal private functions =====' -ForegroundColor Black -BackgroundColor Yellow