mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
ps-lint: ignore rules that are not relevant to Ansible (#46376)
This commit is contained in:
parent
1de88cbaa9
commit
ba638f40cf
5 changed files with 8 additions and 40 deletions
|
@ -41,8 +41,6 @@ function Get-Group($grp) {
|
|||
}
|
||||
|
||||
Function Test-LocalCredential {
|
||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingUserNameAndPassWordParams", "", Justification="We need to use the plaintext pass in the Win32 call, also the source isn't a secure string to using that is just a waste of time/code")]
|
||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingPlainTextForPassword", "", Justification="See above")]
|
||||
param([String]$Username, [String]$Password)
|
||||
|
||||
$platform_util = @'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue