Quantcast
Channel: Performance Analysis of Logs (PAL) Tool
Viewing all articles
Browse latest Browse all 913

Created Unassigned: Error in conditional statement [63927]

$
0
0
Line 2807 contains an if statement with a condition that _always_ evaluates to True:
```
If ($iValues -is [System.Object])
```
I believe the way it was meant to read is
```
If ($iValues -is [System.Object[]])
```
I.e. checking for whether the iValues variable is an array or a scalar.

Viewing all articles
Browse latest Browse all 913

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>