Module does not load in PowerShell 5.1, it seems to be unhappy with the below. https://github.com/PoshCode/ModuleBuilder/blob/e39342d56f9790d9ca0afaced912abe373c11df4/Source/Private/InitializeBuild.ps1#L40-L42 Run `Import-Module` in PS5 to reproduce. PS7 is fine.
Module does not load in PowerShell 5.1, it seems to be unhappy with the below.
ModuleBuilder/Source/Private/InitializeBuild.ps1
Lines 40 to 42 in e39342d
Run
Import-Modulein PS5 to reproduce. PS7 is fine.