From 739c8cb9b05eadb4552e2bca9d988f173a9c56da Mon Sep 17 00:00:00 2001 From: Marco Blessing Date: Fri, 2 Oct 2020 16:06:22 +0200 Subject: [PATCH] stop raising build error on lint warnings for now (#49) --- tools/DroneIO.psm1 | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tools/DroneIO.psm1 b/tools/DroneIO.psm1 index 4ab4bb2..f696923 100644 --- a/tools/DroneIO.psm1 +++ b/tools/DroneIO.psm1 @@ -40,16 +40,7 @@ function Invoke-Linter () { param() process { - $LintRes = Invoke-ScriptAnalyzer -Path './src/' -Recurse - #if (-not ($Env:CI_COMMIT_MESSAGE -match 'SkipLint')) { - if ($LintRes ) { - $LintRes | Format-List - Write-Error -Message 'Lint Errors found!' -ErrorAction Stop - } - else { - Write-Host '== No Lint Errors found! ==' - } - #} + Invoke-ScriptAnalyzer -Path './src/' -Recurse } }