When I run this interactively it works, however when I export it and reopen PowerShell and reimport PowerLine it throws at line 6.
Looking at it more closely it looks like it's some kind of bug in the Configuration module maybe? Or maybe just in the export command. Let me know if you'd rather track this on Configuration.
Found when using PowerLine.
Original Issue: https://github.com/Jaykul/PowerLine/issues/42
When I run this interactively it works, however when I export it and reopen PowerShell and reimport PowerLine it throws at line 6.
Looking at it more closely it looks like it's some kind of bug in the Configuration module maybe? Or maybe just in the export command. Let me know if you'd rather track this on Configuration.
https://gist.github.com/Chirishman/ad7ab9492f9972d77536e89fb1f02053
Error: