Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Commit 739c8cb

Browse files
authored
stop raising build error on lint warnings for now (#49)
1 parent 5983c76 commit 739c8cb

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

tools/DroneIO.psm1

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,7 @@ function Invoke-Linter () {
4040
param()
4141

4242
process {
43-
$LintRes = Invoke-ScriptAnalyzer -Path './src/' -Recurse
44-
#if (-not ($Env:CI_COMMIT_MESSAGE -match 'SkipLint')) {
45-
if ($LintRes ) {
46-
$LintRes | Format-List
47-
Write-Error -Message 'Lint Errors found!' -ErrorAction Stop
48-
}
49-
else {
50-
Write-Host '== No Lint Errors found! =='
51-
}
52-
#}
43+
Invoke-ScriptAnalyzer -Path './src/' -Recurse
5344
}
5445
}
5546

0 commit comments

Comments
 (0)