lzybkr / TabExpansionPlusPlus

A V3 PowerShell module to improve tab expansion and Intellisense
BSD 2-Clause "Simplified" License
196 stars 33 forks source link

Update TabExpansion++.psm1 #43

Closed pcgeek86 closed 9 years ago

pcgeek86 commented 9 years ago

Adding proposed fix for GetScriptBlock(). If we use NewBoundScriptBlock() instead, we avoid the "Variable is not assigned in the method" exception.

Cheers, Trevor Sullivan Microsoft MVP: PowerShell

pcgeek86 commented 9 years ago

Closing PR as this was merely a suggestion. Looks like a different direction will be taken.