Update pwsh style to latest community standards #52

Merged
OCram85 merged 19 commits from rework2022 into master 2022-06-28 08:56:33 +02:00
Showing only changes of commit 533755c2bf - Show all commits

View File

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