Pash-Project/Pash — pull request #315 by mrward (2014-11-30 18:08:47+00:00)
Title: Fix null reference exception when parameters not passed to script.

A null reference exception would be thrown if a PowerShell script file containing a param script block, with one or more parameters, was run and no parameters were passed in the command line.

PASH> MyScript.ps1

MyScript.ps1 file:

param ($a)