ps-lint: ignore rules that are not relevant to Ansible (#46376)

This commit is contained in:
Jordan Borean 2018-10-04 05:55:02 +10:00 committed by GitHub
parent 1de88cbaa9
commit ba638f40cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 40 deletions

View file

@ -109,8 +109,6 @@ Function Get-ChocolateySources {
}
Function New-ChocolateySource {
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingUserNameAndPassWordParams", "", Justification="We need to use the plaintext pass in the cmdline, also using a SecureString here doesn't make sense considering the source is not secure")]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingPlainTextForPassword", "", Justification="See above")]
param(
$choco_app,
$name,