stop raising build error on lint warnings for now #49

Merged
OCram85 merged 1 commits from fixLint into master 2020-10-02 16:06:23 +02:00
1 changed files with 1 additions and 10 deletions

View File

@ -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
}
}