EliziumNet / Loopz

PowerShell iteration utilities with additional tools like the Parameter Set Tools
https://eliziumnet.github.io/Loopz/
MIT License
3 stars 0 forks source link

Invoke-TraverseDirectory invokes wrong error method on controller #126

Closed plastikfan closed 3 years ago

plastikfan commented 3 years ago

When an error occurs, it attempts to record this on the controller by invoking IncrementError which should be ErrorItem. IncrementError is a method on the internal counter class.

plastikfan commented 3 years ago

There was also some missing error handling in Invoke-ForeachFsItem which has been fixed up.