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
@@ -288,7 +288,7 @@ if($gather_subset.Contains('interfaces')) {
|
||||
}
|
||||
}
|
||||
|
||||
if ($gather_subset.Contains("local") -and $factpath -ne $null) {
|
||||
if ($gather_subset.Contains("local") -and $null -ne $factpath) {
|
||||
# Get any custom facts; results are updated in the
|
||||
Get-CustomFacts -factpath $factpath
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user