Badgerati / Pode

Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
https://badgerati.github.io/Pode
MIT License
830 stars 92 forks source link

Fixes a bug when exporting more than 1 module #1360

Closed Badgerati closed 1 month ago

Badgerati commented 1 month ago

Description of the Change

Fixes a bug when exporting more than 1 module, and the same for snapins, functions and secret vaults.

When piping into Sort-Object for the first module, the name would be converted into a string, so a second module being added simply appends to a string and not an array.