proxb / PoshRSJob

Provides an alternative to PSjobs with greater performance and less overhead to run commands in the background, freeing up the console and allowing throttling on the jobs.
MIT License
541 stars 87 forks source link

Minor variable declaration #174

Closed codykonior closed 6 years ago

codykonior commented 6 years ago

Set $CaughtErrors so it will always be declared before it is checked later. Check if $Data is null before trying to do a Count on it.

These don't currently effect me but did previously so it's just a tidy-up.

proxb commented 6 years ago

Cool! I'll merge it and increment the version but probably won't have it moved to the PowerShell Gallery until closer to the end of the week when I have a little more time.