Windows pslint: Re-enable PSPossibleIncorrectComparisonWithNull (#55065)

* pslint fixes

* Fix up remaining sanity issues

* now fix silly errors I made
This commit is contained in:
Dag Wieers 2019-04-10 07:30:38 +02:00 committed by Jordan Borean
commit 025e9afe58
38 changed files with 269 additions and 272 deletions

View file

@ -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
}