RamblingCookieMonster / PSDepend

PowerShell Dependency Handler
MIT License
285 stars 76 forks source link

fix: ensure the correct version of a module is imported #57

Closed christianacca closed 6 years ago

christianacca commented 6 years ago

Without specifying a RequiredVersion for Import-Module, powershell will import the latest version (see here for details).

We don't want that - we want to ensure the exact version in the requirements.psd1 is imported.

RamblingCookieMonster commented 6 years ago

Looks good to me, thanks for adding this!