diff --git a/RestSetAcls/lint.ps1 b/RestSetAcls/lint.ps1 deleted file mode 100644 index eba6e7f..0000000 --- a/RestSetAcls/lint.ps1 +++ /dev/null @@ -1,10 +0,0 @@ -Invoke-ScriptAnalyzer -Path $PSScriptRoot\RestSetAcls -Severity Warning -Recurse -OutVariable issues -$errors = $issues.Where({ $_.Severity -eq 'Error' }) -$warnings = $issues.Where({ $_.Severity -eq 'Warning' }) -if ($errors) { - Write-Error "There were $($errors.Count) errors and $($warnings.Count) warnings total." -ErrorAction Stop -} -else { - Write-Output "There were $($errors.Count) errors and $($warnings.Count) warnings total." -} -