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

Commit 5983c76

Browse files
committed
disable error on lint warnings
1 parent 045adbf commit 5983c76

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

tools/DroneIO.psm1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ function Invoke-Linter () {
4141

4242
process {
4343
$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-
}
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! =='
5251
}
52+
#}
5353
}
5454
}
5555

0 commit comments

Comments
 (0)