mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Windows pslint: Re-enable PSPossibleIncorrectComparisonWithNull (#55065)
* pslint fixes * Fix up remaining sanity issues * now fix silly errors I made
This commit is contained in:
committed by
Jordan Borean
parent
a2eb227970
commit
025e9afe58
@@ -46,7 +46,7 @@ $tests = @(
|
||||
)
|
||||
|
||||
# Add domain tests if the domain name has been set
|
||||
if ($test_domain -ne $null) {
|
||||
if ($null -ne $test_domain) {
|
||||
Import-Module ActiveDirectory
|
||||
$domain_info = Get-ADDomain -Identity $test_domain
|
||||
$domain_sid = $domain_info.DomainSID
|
||||
|
||||
Reference in New Issue
Block a user