FormatPowershellCode icon indicating copy to clipboard operation
FormatPowershellCode copied to clipboard

Added $PSScriptRoot to .psm1 file and exclusion for [ordered] in for format type names

Open DBremen opened this issue 6 years ago • 0 comments

  1. When importing the module downloaded from the PowerShell Gallery I received an error message pointing to the .psm1 file, therefore I replaced the root folder references (.) with $PSScriptRoot

  2. [ordered] appears not be a type accelerator stackoverflow post. I've added an exclusion into the Format-ScriptFormatTypeNames.ps1.

Thanks a lot for the great module,

Dirk

DBremen avatar May 18 '18 18:05 DBremen